Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: xdm and 'nologin' on Slackware



On Mon, 13 Jul 1998, Jim Schweizer wrote:

> Hi all,
> 
> I had thought there was a way to disable any new login attempts
> into a system by simply creating a file called /etc/nologin.
> 
> Supposedly, it can have a null file size or a message can be 
> placed into the file informing the status of the system. If a
> user attempts to login remotely, a message should be displayed
> with contents of the /etc/nologin file, and then disconnect the
> user.
> 
> But, on Slackware running xdm if you create the file then
> reboot, the nologin file vaporizes and regular logins are allowed
> 
> Hmmm, since xdm runs as root, is /etc/nologin not a valid option?

no, but it's automatically deleted when you reboot.  just 'touch
/etc/nologin' and leave the system alone, and logins should be disallowed.

--------------------------------------------------
Scott M. Stone <sstone@example.com, sstone@example.com>
               <sstone@example.com>
Linux Developer/Systems Administrator for Pacific HiTech, Inc. 
http://www.pht.com		http://armadillo.pht.co.jp
http://www.pht.co.jp	        http://www.turbolinux.com


--------------------------------------------------------------
Next Nomikai: 17 July, 19:30 Tengu TokyoEkiMae 03-3275-3691
Next Meeting: 8 August, Tokyo Station Yaesu central gate 12:30
featuring Linux on multiple platforms:
i386, Sparc, PA-Risc, Amiga, SGI, Alpha, PalmPilot, ...
--------------------------------------------------------------
Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links