Re[2]: RootDirectory and StayRoot

Klemen Vodopivec <[email protected]>
Newsgroups gmane.network.mathopd
Organization Unid d.o.o.
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.