From: ivegotan%at%ombomb%dot%org@spam.spam.die.net (Dr. Strangelove)
Subject: Re: How to stop people to log in
Date: 1997/11/21 [thread overview]
Message-ID: <34756f5c.160871886@news.demon.co.uk> (raw)
In-Reply-To: 653m0p$cqf@news.ntu.edu.sg
On 21 Nov 1997 09:58:49 GMT, onglb@NIEVAX.NIE.AC.SG (Ong Liang Bu)
wrote:
>Hi
>
>I have a Digital DEC2000 installed with osf/1 ver 3.2. The system has users log in 24 hrs a day, nonstop. I need to find a way to stop users from coming in so that I can do backup. Apart from modify the /etc/inittab and run 'init q'; i s there anyway to stop new users coming in? Also when existing user logout the connection is closed to prevent others from seizing the connection. Most of my users connect to the machine remotely by lat. Anyone can help?
>
>I appreciate all the help I can get.
>
>Thanks
>Ong LB
What I do is have a cron job run at a suitable time that
overwrites .profiles with a new .profile that has something
like
echo "The system is currently unavilable"
exit 0
At the very end of it.
I then kill off any logged on users and do the backup. Another cron
job copies back the original .profiles.
Hope this helps.
Dr. Strangelove
Rewrite the address with the obvious bits taken out if you want to mail me.
mailto:ivegotan%at%ombomb%dot%org%with%no%spam%please
http://www.ombomb.org/
"Put your money on 'The Bribes', they always win." - Jello Biafra
next parent reply other threads:[~1997-11-21 5:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <653m0p$cqf@news.ntu.edu.sg>
1997-11-21 5:00 ` Dr. Strangelove [this message]
1997-11-21 5:00 ` How to stop people to log in Finnbarr P. Murphy
1997-11-21 5:00 ` John Hascall
1997-11-23 5:00 ` Stuart R. Fuller
1997-11-21 5:00 ` Erik Persson
1997-11-21 5:00 ` Nikola Milutinovic
1997-11-24 5:00 ` Aleksandar Milivojevic
1997-11-24 5:00 ` lombardi emanuele
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox