From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,dccd7c285b054718,start X-Google-Attributes: gidfee84,public 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 Message-ID: <34756f5c.160871886@news.demon.co.uk>#1/1 X-Deja-AN: 291204386 X-NNTP-Posting-Host: doris.demon.co.uk [158.152.173.211] References: <653m0p$cqf@news.ntu.edu.sg> Reply-To: ivegotan%at%ombomb%dot%org@spam.spam.die.net Newsgroups: comp.unix.osf.osf1 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