jump to navigation

fatal: Access denied for user root by PAM account configuration
March 23, 2017

Posted by cu.admin in : cpanel, sysadmin , trackback

masalahnya ini di log secure

Code:
Mar 23 07:35:28 carauntuk.com sshd[1029]: fatal: Access denied for user root by PAM account configuration


bukan karena selinux, mungkin ./etc/shadownya ada yang ngaco, tadi jalankan ini:

Code:
pwconv

 

Quote:
The pwconv command creates shadow from passwd and an optionally existing shadow.

 

Code:
Mar 23 07:39:27 carauntuk.com groupadd[4240]: group added to /etc/group: name=cgred, GID=488
Mar 23 07:39:28 carauntuk.com groupadd[4240]: group added to /etc/gshadow: name=cgred
Mar 23 07:39:28 carauntuk.com groupadd[4240]: new group: name=cgred, GID=488


sekarang sudah bisa login

Mar 23 07:57:39 carauntuk.com sshd[12725]: Accepted publickey for root from xxx.xxx.xxx.xxx port 40534 ssh2
Mar 23 07:57:40 carauntuk.com sshd[12725]: pam_unix(sshd:session): session opened for user root by (uid=0)

© http://carauntuk.com/fatal-access-denied-for-user-root-by-pam-account-configuration

Sponsor 2

Comments»

no comments yet - be the first?