This is a discussion on Disable root on SSH? within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> I am just wondering how do I disable root from longing in via SSH? I have heard that it ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| On Thursday 22 September 2005 14:36, Sunnz stood up and spoke the following words to the masses in /alt.os.linux.gentoo...:/ > I am just wondering how do I disable root from longing in via SSH? > > I have heard that it is possible to make it so that root cannot log in > via SSH, but a Wheel user can log in and SU into root. man sshd.conf ;-) -- With kind regards, *Aragorn* (Registered Gnu/Linux user # 223157) |
| |||
| In article <4332a562@duster.adelaide.on.net>, Sunnz wrote: > I am just wondering how do I disable root from longing in via SSH? > > I have heard that it is possible to make it so that root cannot log in > via SSH, but a Wheel user can log in and SU into root. In /etc/ssh/sshd_config add line: PermitRootLogin no See: man sshd_config -- Lukasz Zamel GPG: DA63940E JID: zami jabber.autocom.pl |
| |||
| Thanks guys! Lukasz Zamel wrote: > In article <4332a562@duster.adelaide.on.net>, Sunnz wrote: > >>I am just wondering how do I disable root from longing in via SSH? >> >>I have heard that it is possible to make it so that root cannot log in >>via SSH, but a Wheel user can log in and SU into root. > > > In /etc/ssh/sshd_config add line: > PermitRootLogin no > > See: man sshd_config > |