From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fee84,dccd7c285b054718 X-Google-Attributes: gidfee84,public From: Erik Persson Subject: Re: How to stop people to log in Date: 1997/11/21 Message-ID: #1/1 X-Deja-AN: 291233584 Sender: erik@sibelius.ikp.liu.se References: <653m0p$cqf@news.ntu.edu.sg> Organization: IKP - Link�ping University Newsgroups: comp.unix.osf.osf1 I am not to sure what implications running LAT might have, but if you're running NIS it is very effective to replace the '+::::::' (or something like that) in /etc/passwd (indicating "include all NIS users here") with '+::::::/bin/foo-script' This will cause all NIS users to get their login shell subsituted with 'foo-scrip' that might contain something like: --->snip<--- #!/bin/sh echo "The system is being prepared for backup. Login not permitted." exit 0 --->snip<--- /Erik -- Erik Persson, System Manager e-mail: erik@ikp.liu.se Dept. of Mech. Engineering Voice: +46 13 28 2464 Division of Solid Mechanics Fax: +46 13 21 2717 University of Link�ping, Sweden