Jump to content

login as root setting in sshd_config?


Guest Bmanz
 Share

Recommended Posts

:help: Please don't flame me because I know you should not login as root. I am trying to get remote access in a test environment. I have ssh setup and can login as myself (regular user) however not as root. I have modified the sshd_config file to say "permit root login yes", however it still denies access. Is there another setting that I am forgetting?
Link to comment
Share on other sites

if you are using mandriva, in console as root

#draksec

 

it would open draksec gui.. see attached

 

try to allow remote root login by changing the value to yes...

 

actually, have'nt tried it myself, since I tried not to allow direct root login or remote root login.. so please post if that works...

post-6639-1134610440_thumb.jpg

Link to comment
Share on other sites

B) Thanks for the input on this. I checked out the gui security area like you mentioned. It seems if you are using "higher" security level then you cannot login as root with SSH client. If you set that to "high" level then you can get in as root with SSH client.

Edited by Bmanz
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...