From: s001pme@discover.wright.edu (Phil Edwards)
Subject: Re: Disable logins
Date: 10 Jan 1995 20:46:23 GMT [thread overview]
Message-ID: <3eurmv$4qb@valhalla.cs.wright.edu> (raw)
In-Reply-To: 3ejoau$rff@tibalt.supernet.ab.ca
Using the secret identity of <3ejoau$rff@tibalt.supernet.ab.ca>,
it seems Data Business Forms (dbform@tibalt.supernet.ab.ca) sez:
:How do I disable people from logging in to the system when it is in multi
:user mode? Other than renaming the /etc/passwd file ( which disables the
:root login) what are my options? I have heard of a file called
:nologin(s)? but I am unsure as to how it works.
I'm uncertain whether $people == "everybody" or $people == "specific
ppeople such as troublemakers, Rsh'ers, and guest accounts". If it's
only a few people, use vipw to change their /etc/paswd line (put their
shell as /bin/false, for example). Just be sure and change it back when
you're done....
If you're after a global disabling, you can either play around with
changing the path/permissions of /bin/login, or write a script to alter
/etx/passwd (e.g., rename it and create a new one consisting of only the
administration entries, extracted from the real file).
Good luck!
--
Phil Edwards | The gods do not protect fools. Fools
pedwards@valhalla.cs.wright.edu | are protected by more capable fools.
--------------------------------| -Larry Niven
prev parent reply other threads:[~1995-01-10 20:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-01-06 15:41 Disable logins Data Business Forms
1995-01-10 17:45 ` Tim Lucia
1995-01-10 20:46 ` Phil Edwards [this message]
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