From: Erik Persson <erik@ikp.liu.se>
Subject: Re: How to stop people to log in
Date: 1997/11/21 [thread overview]
Message-ID: <t0d8ju2v7o.fsf@sibelius.ikp.liu.se> (raw)
In-Reply-To: 653m0p$cqf@news.ntu.edu.sg
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 706 bytes --]
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
next prev 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 ` How to stop people to log in Dr. Strangelove
1997-11-21 5:00 ` 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 [this message]
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