home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.admin
- Path: sparky!uunet!psinntp!tnl!norstar
- From: norstar@tnl.com (Daniel Ray)
- Subject: Re: How to keep users from logging in
- Organization: The Northern Lights
- Date: Fri, 11 Dec 1992 23:59:43 GMT
- Message-ID: <Bz4DBL.Lp6@tnl.com>
- Lines: 37
-
- In article <9212061952.00@phzzzt.uucp>, mfaurot@phzzzt.uucp (Michael Faurot) writes:
- > ...
- >I suppose it wouldn't be too difficult to create a generic shell program
- >that UUCP sites would get, that would eventually call uucico, although
- >I've never tried it.
-
- On TNL here (public access UNIX site) we have an elaborate system for being
- able to switch the system open or closed to logins, called the "closure"
- subsystem.
-
- The file /etc/closure has either the value "open" or "closed". When a user
- logs in, /etc/login checks this file, and if the value is "closed" it denies
- access to all but a privileged group, locking out public users, even root,
- allowing only the privileged system admin group to enter. UUCP logins would
- be locked out this way along with public shell users. Whenever the system
- rejects a user this way, it posts a message to the Operations tty. This
- protects from the system being closed by mistake.
-
- Similarly we have a program /usr/lib/uucp/uush that checks /etc/closureuucp,
- and if the system's not closed it exec()s uucico. This allows closing *just*
- UUCP logins. And there are other /etc/closure* files that act as switches for
- parts of the system. This allows automated and operator manual intervention
- very easily.
-
- Various security audit programs can change the system to closed status if they
- detect a serious problem such as an unknown SetUID file. We have found this
- subsystem very very useful. While we originally relied on /etc/profile and
- /etc/cshrc to lock out users if the system was closed, we found that actual
- modification of login the most secure.
-
- --
- norstar
- The Northern Lights, Troy NY |
- tnl dialins: +1 518 237-2163 @ 1200-2400 bps 8N1 $free ` | /
- ------------------------------------------------------- --- * ---
- UUCP: uunet!uupsi3!tnl!norstar / | .
- Internet: norstar@tnl.com |
-