View Single Post

   
  #2 (permalink)  
Old 01-04-2008, 07:58 PM
Steve Greatbanks
 
Posts: n/a
Default Re: Is it possible to disable telnet login session temporary in AIX?


"Bob Bale" <balebob@hotmail.com> wrote in message
news:6385ed14.0307281908.1601ff29@posting.google.c om...
> Hello All,
>
> I am a new to AIX and wondering if there is a way/command to disable
> telnet user to the system temporary. In the real world, even though I
> asked other users not to login to system, I still get a few pts
> sessions when I issue the "w" command. I found the penable and
> pdisable commands. Try them on my system and it's still not
> preventing telnet user from logging into the system. Is the kill
> command the only option?


The /etc/nologin file might be what you want...
If the file has contents, they are echoed to the terminal of the user
attempting to login (use this to tell the user why they cannot log on at
that time, and when they can expect login service to return).
It is generally used to keep people off a system while the sysadmin does
maintenance (because as you say, users never stay off when told to). The
/etc/nologin file gets removed on reboot.


Reply With Quote