0

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?

1 Answer 1

0

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.

1
  • I could this figure out using my psychic abilities but need some one to verify it :-)
    – Kumar
    Aug 2, 2011 at 12:32

You must log in to answer this question.

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