Results 1 to 4 of 4
After we changed Root's password (using the passwd command), both the new and old password work. Any ideas why this could be happening?...
- 07-16-2010 #1Just Joined!
- Join Date
- Jul 2010
- Posts
- 2
Root Password Change
After we changed Root's password (using the passwd command), both the new and old password work. Any ideas why this could be happening?
- 07-18-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
That makes no sense to me at all! In /etc/passwd there should be only one entry for root, and in /etc/shadow (where the encrypted passwords are kept) there should only be one entry for root as well. So, look in /etc/passwd and /etc/shadow (I am assuming that you aren't using LDAP or NIS for user authentication) and see if there are multiple entries for root in either one.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 07-19-2010 #3Just Joined!
- Join Date
- Jul 2010
- Posts
- 2
Hello Rubberman..thanks for the response. The shadow and passwd files only have 1 root entry.
I didn't mention that we are using a form of LDAP and the primary db is windows active directory. However, I wouldn't think the root id was impacted. I'm not the one who implemented this, but let me research it more.
- 07-19-2010 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
It is likely that LDAP integration with the Linux authentication system is causing this behavior. Since I'm just learning about using LDAP myself with Linux I can't really suggest what to do in order to keep root from being authenticated by LDAP, but restricted to the local system, if that's what you really want.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote