Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
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.

share|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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .