Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unable to Log in as SSH Root or su -.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ChiasmusHF
n00b
n00b


Joined: 30 Dec 2004
Posts: 28

PostPosted: Sun Apr 03, 2005 12:46 am    Post subject: Unable to Log in as SSH Root or su -. Reply with quote

I've recently completed a setup of Gentoo 2004.3 on my AMD64 box. After installing, I emerged the latest OpenSSH and kicked of sshd. I set the configuration variables of "PasswordAuthentication yes" and "PermitRootLogin yes" and "PermitEmptyPasswords no" in /etc/ssh/sshd_config, and I'm able to log in with as a user in wheel, but when I either try to SSH in as root or try to "su -", it asks for my password and then always tells me that password is wrong. Now, I can long in just fine as root sitting at the terminal.

My girlfriend is starting to get irked about the monitor in the living room, so if people could let me know how to SSH in as root, I'd be really thankful!
Back to top
View user's profile Send private message
Vyeperman
Tux's lil' helper
Tux's lil' helper


Joined: 18 Dec 2003
Posts: 89

PostPosted: Sun Apr 03, 2005 2:33 am    Post subject: Reply with quote

I know it's kinda of obvious but... you did restart sshd after making those changes to your /etc/ssh/sshd_config file right?
_________________
-Vyeperman
Back to top
View user's profile Send private message
ChiasmusHF
n00b
n00b


Joined: 30 Dec 2004
Posts: 28

PostPosted: Sun Apr 03, 2005 6:29 pm    Post subject: Reply with quote

Yeah, I'm a n00b, but I've got that done; checked it via status. I'm able to log-in as another user (even a user part of the "wheel" group). It's just the password authentication that's failing. Could it be a PAM configuration, or some kind of switch I'm missing in some magical configuration file?
Back to top
View user's profile Send private message
ltu0105
n00b
n00b


Joined: 21 Feb 2005
Posts: 23

PostPosted: Mon Apr 04, 2005 7:15 am    Post subject: Reply with quote

have you done an etc-update recently... if you did chances are you could have overwrote some config files

try this: https://forums.gentoo.org/viewtopic.php?t=23378

hope this helps.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum