Helo!

  I just copied passwd, group and shadow and gshadow file to etc dir
  in chrooted dir. Not working. May be this because I'm using pam?
  My OS is Debian potato 2.2.

  And, wouldn't be better to set username prior to Chroot?

Reply to your message

>>   But, I want chroot. Do I have to put passwd in chrooted dir?

> In general, you need an /etc/passwd and an /etc/group file in your chroot
> environment. You don't have to copy your system passwd- and group files -
> just copy the accounts that you will actually need. You may need other
> files as well, depending on your operating system.

> HTH
> Cheers
> Michiel



-- 
Bye,
Klemen Vodopivec

Reply via email to