* Disable logins
@ 1995-01-06 15:41 Data Business Forms
1995-01-10 17:45 ` Tim Lucia
1995-01-10 20:46 ` Phil Edwards
0 siblings, 2 replies; 3+ messages in thread
From: Data Business Forms @ 1995-01-06 15:41 UTC (permalink / raw)
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.
David Wood
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Disable logins
1995-01-06 15:41 Disable logins Data Business Forms
@ 1995-01-10 17:45 ` Tim Lucia
1995-01-10 20:46 ` Phil Edwards
1 sibling, 0 replies; 3+ messages in thread
From: Tim Lucia @ 1995-01-10 17:45 UTC (permalink / raw)
In article <3ejoau$rff@tibalt.supernet.ab.ca>, dbform@tibalt.supernet.ab.ca (Data Business Forms) writes:
|>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.
|>
|>
|>David Wood
|>
|>
David,
From login(1):
If the file /etc/nologin exists, login prints its contents on your terminal
and exits. This is used by shutdown to stop users from logging in when the
system is about to go down.
--
===========================================================================
Timothy J. Lucia
DECladebug
Digital Equipment Corporation
lucia@zko.dec.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Disable logins
1995-01-06 15:41 Disable logins Data Business Forms
1995-01-10 17:45 ` Tim Lucia
@ 1995-01-10 20:46 ` Phil Edwards
1 sibling, 0 replies; 3+ messages in thread
From: Phil Edwards @ 1995-01-10 20:46 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1995-01-10 20:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox