Where is nologin file?

1999-10-22 Thread Milan Kliska
Hi,

I'm looking for a nologin file which gets removed with rmnologin script. Is
that just a dummy file or what? I just want root to be able to login to this
specific computer. I couldn't find any information about this file, or the
file itself.

Thanks,
Milan


Re: Where is nologin file?

1999-10-22 Thread Ethan Benson

On 22/10/99 Milan Kliska wrote:


I'm looking for a nologin file which gets removed with rmnologin script. Is
that just a dummy file or what? I just want root to be able to login to this
specific computer. I couldn't find any information about this file, or the
file itself.


/etc/nologin when exists only root will be permitted to login all 
other users will be shown the contents of /etc/nologin and denied 
access, this is meant for temporary use only, such as when the system 
is being shutdown to prevent new users from connecting while giving 
time to already logged in users to close up and logout.  it is not 
meant nor should be used to lock down your box in a permanent fashion.


I don't know if you are referring to remote users only or everyone, 
but nologin affects everyone regardless of where they come from, and 
root and never allowed to login from anywhere but the physical 
console (tty1-6)


if you don't want a user to login anymore permanently delete their account.

you should of course have a normal account that you use for day to 
day activity never use root for that.


the other options for denying some users access or access to certain 
services would be to use PAM but I will leave that to a excercise for 
the reader.




Ethan Benson

OpenPGP encrypted mail accepted.
To obtain my PGP key: http://www.alaska.net/~erbenson/pgp/
Key FingerPrint: 371A 7416 5D39 CF2D 9366  8AF6 0139 54F5 3EBD 0FE6
RSA Key FingerPrint: DE8B 74D0 79F1 6176  9AF5 120F 47AD 9B0A



Re: Where is nologin file?

1999-10-22 Thread Ben Collins
On Fri, Oct 22, 1999 at 01:01:08AM -0400, Milan Kliska wrote:
 Hi,
 
 I'm looking for a nologin file which gets removed with rmnologin script. Is
 that just a dummy file or what? I just want root to be able to login to this
 specific computer. I couldn't find any information about this file, or the
 file itself.

echo 'Only root logins allowed'  /etc/nologin

Ben


Re: Where is nologin file?

1999-10-22 Thread aphro
i just chsh user and change their shell to /dev/null to whoever i dont
want to login.  sure it may not be the easiest(or maybe it is?) maybe im
still stuck doing things the old way..(as long as it works:) )

nate

[mailto:[EMAIL PROTECTED] ]--
  Linux System Administrator   http://www.firetrail.com/
  Firetrail Internet Services Limited  http://www.aphroland.org/
   Everett, WA 425-348-7336http://www.linuxpowered.net/
Powered By:http://comedy.aphroland.org/
Debian 2.1 Linux 2.0.36 SMPhttp://yahoo.aphroland.org/
-[mailto:[EMAIL PROTECTED] ]--

On Fri, 22 Oct 1999, Milan Kliska wrote:

 Hi,
 
 I'm looking for a nologin file which gets removed with rmnologin script. Is
 that just a dummy file or what? I just want root to be able to login to this
 specific computer. I couldn't find any information about this file, or the
 file itself.
 
 Thanks,
 Milan
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 


Re: Where is nologin file?

1999-10-22 Thread Pollywog

On 22-Oct-99 aphro wrote:
 i just chsh user and change their shell to /dev/null to whoever i dont
 want to login.  sure it may not be the easiest(or maybe it is?) maybe im
 still stuck doing things the old way..(as long as it works:) )

Is there a big difference between making their shell /dev/null and making it
/bin/false?

--
Andrew


Re: Where is nologin file?

1999-10-22 Thread aphro
dont think there is any difference, accomplishes the same task.

could be wrong though.

nate

[mailto:[EMAIL PROTECTED] ]--
  Linux System Administrator   http://www.firetrail.com/
  Firetrail Internet Services Limited  http://www.aphroland.org/
   Everett, WA 425-348-7336http://www.linuxpowered.net/
Powered By:http://comedy.aphroland.org/
Debian 2.1 Linux 2.0.36 SMPhttp://yahoo.aphroland.org/
-[mailto:[EMAIL PROTECTED] ]--

On Fri, 22 Oct 1999, Pollywog wrote:

 
 On 22-Oct-99 aphro wrote:
  i just chsh user and change their shell to /dev/null to whoever i dont
  want to login.  sure it may not be the easiest(or maybe it is?) maybe im
  still stuck doing things the old way..(as long as it works:) )
 
 Is there a big difference between making their shell /dev/null and making it
 /bin/false?
 
 --
 Andrew
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null