[Gllug] Debian SSH not letting root login anymore?

Stephen Harker steve at pauken.co.uk
Wed Nov 9 16:03:18 UTC 2005


Rich Walker wrote:
> Hi,
> 
> I recently upgraded one of our machines, and now can't do 
> 
>   ssh -X root at thoth 
> 
> to it any more.
> 
> Login as a normal user still works.
> 
> /var/log/auth.log suggests pam is causing problems:
> 
> Nov  9 15:42:31 thoth sshd[8093]: (pam_unix) authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=gateway.shadow.local  user=root
> Nov  9 15:42:35 thoth sshd[8093]: Accepted keyboard-interactive/pam for root from 10.1.1.17 port 43186 ssh2
> Nov  9 15:42:35 thoth sshd[8093]: fatal: PAM: pam_setcred(): Permission denied
> 
> Any ideas where I should be looking?

Have a look in /etc/ssh/sshd_config. There's probably a "PermitRootLogin 
no" statement in there somewhere. Change to yes and restart ssh.

Stephen
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list