how to restrict any user for ssh

Alan Peery peery at io.com
Thu Jun 21 22:14:13 UTC 2007


Johan Booysen wrote:
> If the file /etc/nologin exists, 
If you go down this route, make sure that /etc/nologin isn't deleted at 
system reboot.  I know that some Unix distributions used to do this, in 
the theory that you'd only create the nologin file when doing system 
maintenance--and that a reboot meant that the system maintenance was done.

Alan

-- 
Alan Peery                | Wisdom consists of knowing when to avoid
Systems Integrator        | perfection.
peery @io.com              |
07812 737 655 UK          | -- Horowitz




More information about the redhat-list mailing list