[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Symlinking /etc/passwd?

On 06.12.06 04:24, Tyler MacDonald wrote:
> I'm setting up a box that is mostly going to be chroot environments, stored
> in a partition in /var. I would like to move /etc/passwd and /etc/shadow to
> /var so that I can hardlink them into my chroot environments. Is it safe to
> do this, and make /etc/passwd and /etc/shadow symlinks to the new location?

I would create special,stripped /etc/passwd and /etc/shadow for those
environments. Should be ok unless you want all changes in passwd/shardow to
be reflected there.
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
If Barbie is so popular, why do you have to buy her friends? 

Reply to: