Unix Technical Forum

Disable root on SSH?

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 10:29 AM
Sunnz
 
Posts: n/a
Default Disable root on SSH?

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 10:29 AM
Aragorn
 
Posts: n/a
Default Re: Disable root on SSH?

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)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-21-2008, 10:29 AM
Lukasz Zamel
 
Posts: n/a
Default Re: Disable root on SSH?

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-21-2008, 10:29 AM
Sunnz
 
Posts: n/a
Default Re: Disable root on SSH?

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
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-21-2008, 10:29 AM
Hekaton Keires
 
Posts: n/a
Default Re: Disable root on SSH?

35 minutes waiting an answer on a group saved 1 min of reading
documentation

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:05 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com