Preventing users from loggin into a unix box

From: Ram Meenakshisundaram <rmeenaks_at_olf.com>
Date: Thu Apr 19 16:50:10 2001

Gene Buckle wrote:

> do a touch /etc/nologin
>
> g.
>
> On Thu, 19 Apr 2001, Ram Meenakshisundaram wrote:
>
> > Hi,
> >
> > I have a Solaris 2.6 Ultra-10 at work and I want to prevent users from logging into my machine. I dont want
> > to run in single-user mode. Is there a way to disable rlogin or telnet over to my machine?
> >
> > Ram
> >

This wont work as nologin is just a message file (similar to motd) whenever the system is about to shutdown.

Ram

--
       ,,,,
       /'^'\
      ( o o )
 -oOOO--(_)--OOOo-------------------------------------
|                        Ram Meenakshisundaram        |
|                        Senior Software Engineer     |
|                        OpenLink Financial Inc       |
|  .oooO                 Phone: (516) 227-6600 x267   |
|  (   )   Oooo.         Email: rmeenaks_at_olf.com      |
 ---\ (----(   )--------------------------------------
     \_)    ) /
           (_/
Received on Thu Apr 19 2001 - 16:50:10 BST

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:33:27 BST