Hi everyone!
I've got a problem caused by another who did:
- He create an user and grant the group (1) to this
- The problem appears as "Permission deined when reboot the Server
Dec 21 09:13:09 payment dtlogin[1269]: open_pam_conf: Owner of /etc/pam.conf is not root
Dec 21 09:13:09 payment dtlogin[1117]: open_pam_conf: Owner of /etc/pam.conf is not root
Dec 21 09:13:30 payment sendmail[533]: unable to qualify my own domain name (payment) -- using short name
Dec 21 09:13:30 payment sendmail[1310]: unable to write pid to /var/spool/clientmqueue/sm-client.pid: Permission denie
Then, I recover by CDrom, change owner to root (pam.conf), login success to Server. However, I can change root's password, even deleting 2 users
root@payment # id -p vmspay
uid=503(vmspay) gid=1(other) projid=3(default)
root@payment # userdel vmspay
root@payment # userdel payment
root@payment #
root@payment #
root@payment # passwd
passwd: Changing password for root
New Password:
Re-enter new Password:
Permission denied
root@payment # cd /etc
root@payment # ls -ll pam*
-rw-r--r-- 1 root sys 3477 Dec 21 14:31 pam.conf
-r--r--r-- 1 503 bin 3310 Jul 5 02:47 pam.conf-winbind
-rw-r--r-- 1 root root 3263 Dec 21 14:29 pam.conf.bk
root@payment # passwd -r files root
New Password:
Re-enter new Password:
Permission denied
root@payment #
May you guide me to do it?
Thank you!