I am currently working on a remote RedHat server(RHEL version 6.7 x86_64).
I can login as a user by using userID and password which is provided by
the server administrator.
But when I try to login as root by using command sudo su ,the console
gets hang infinitely.
To get out of this, I have to press ctrl+c key.
Also when I use su - root or su root, it shows incorrect password.
This was not the case some days ago.
Earlier I was able to login as root by using sudo su and then entering the same password provided by the server administrator.
To resolve this issue,I have done the following things:
- Checked
/etc/hosts,/etc/passwd,/etc/shadow,/etc/securettyfiles - Also checked
/etc/pam.d/sudoand/etc/pam.d/sufiles chmod 4755 /bin/suchmod 644 /etc/securetty- checked root account expiry date(not expired)
What else do I need to do to resolve this issue?
No comments:
Post a Comment