You are not logged in.
Pages: 1
Hi guys,
I can't log in as root user.
i run
supassword entering and don't takes effect.
journalctl -f
su[2766]: pam_unix(su:session): session opened for user root by ...(uid=1000)
su[2766]: pam_unix(su:session): session closed for user root/etc/pam.d/su
cat /etc/pam.d/su
#%PAM-1.0
auth sufficient pam_rootok.so
# Uncomment the following line to implicitly trust users in the "wheel" group.
#auth sufficient pam_wheel.so trust use_uid
# Uncomment the following line to require a user to be in the "wheel" group.
#auth required pam_wheel.so use_uid
auth required pam_unix.so
account required pam_unix.so
session required pam_unix.sopam close the session.
I reinstalled pam package but dont works.
Anyone can help me?
Regards
Last edited by archdom (2020-05-12 19:55:16)
Offline
What if you login as root at a login prompt instead of using su?
Offline
What if you login as root at a login prompt instead of using su?
entering root user and password in sddm login redirects my user login.
Last edited by archdom (2020-05-12 18:39:50)
Offline
/etc/shadow
root:....:18394::::::/etc/passwd
root:x:0:0::/root:/bin/bashLast edited by archdom (2020-05-12 20:00:42)
Offline
there was wrong in .bashrc file of root user.
I delete it and works.
Mark as solved
Offline
I would suggest you edit post #4 to remove sharing the hash of the system's root password.
Offline
I would suggest you edit post #4 to remove sharing the hash of the system's root password.
done. Thanks!
Offline
Pages: 1