I have a RHEL box or development. I changed my user and root passwords on it and I can see the change in effect. However, I have a chroot environment on this box and the changed passwords do not work for this environment. I have to use my old passwords. Do I need to chroot into this environment and change passwords there as well?

link|improve this question

75% accept rate
feedback

1 Answer

up vote 0 down vote accepted

A "chroot" is a separate system (sharing only the kernel). It has its own etc/shadow with its own passwords. So yes, you need to change them twice, inside and outside the chroot.

link|improve this answer
I could this figure out using my psychic abilities but need some one to verify it :-) – Kumar Aug 2 '11 at 12:32
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.