securetty only restricts root logins for the *getty* series using 'login' and telnet sessions.
For ssh sessions you need to edit /etc/ssh/sshd_config and set PermitRootLogin to no On Mon, 27 Jan 2003, Gerald Timothy Quimpo wrote: > On Monday 27 January 2003 08:34 pm, Elmer C. Claveria Jr. wrote: > >Why is that I can still login from the remote as �root�? I > > already edited the /etc/securetty file so as not to accept root logins > > except tty1 & tty6. > > i don't know. how are you trying to login? ssh? telnet? rsh? > > tiger > > _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
