Re: Relocating /etc/passwd, shadow and group

2008-12-10 Thread Dominic Coulombe
Thanks to everybody that posted suggestions. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit

Relocating /etc/passwd, shadow and group

2008-12-09 Thread Dominic Coulombe
Hi, * Short story * Is it possible to relocate /etc/passwd, /etc/shadow and /etc/group files ? * Long story * I am building a system based on SLES10-SP2 with a read only root fs. My work is based on the Redpaper REDP-4322-00, Sharing and maintaining Linux under z/VM. Very inspiring work.

Re: Relocating /etc/passwd, shadow and group

2008-12-09 Thread Richard Troth
Sym-links should work initially. But consider bind mounting /etc from a R/W point such as /local/etc (for example). Changing passwords locally requires other files under /etc, so simply sym-linking does not solve all your problems, but a bind mount /etc goes much further. On 12/9/08,

Re: Relocating /etc/passwd, shadow and group

2008-12-09 Thread Edmund R. MacKenty
On Tuesday 09 December 2008 16:50, Dominic Coulombe wrote: * Short story * Is it possible to relocate /etc/passwd, /etc/shadow and /etc/group files ? You're right: you can't change the location of those files without rebuilding pwutils with a different pathname. I forget where the code for

Re: Relocating /etc/passwd, shadow and group

2008-12-09 Thread Patrick Spinler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You may find some of the documents in this google search helpful: http://www.google.com/search?hl=enclient=firefox-arls=org.mozilla%3Aen-US%3Aofficialhs=k7q=nfs+shared+root+filesystembtnG=Search In particular, the second hit on that page Shared,

Re: Relocating /etc/passwd, shadow and group

2008-12-09 Thread Dominic Coulombe
Hi, Bind mounting the whole /etc directory does work fine. So does mounting a disk containing only the /etc fs. Thanks for your input. On Tue, Dec 9, 2008 at 17:09, Richard Troth [EMAIL PROTECTED] wrote: Sym-links should work initially. But consider bind mounting /etc from a R/W point

Re: Relocating /etc/passwd, shadow and group

2008-12-09 Thread Dominic Coulombe
On Tue, Dec 9, 2008 at 17:16, Edmund R. MacKenty [EMAIL PROTECTED] wrote: [...] I do things almost this way in some filesystem layouts of my Provisioning Expert product: I put /etc on a writable filesystem and populate it with symlinks to a read-only filesystem. But for certain files,

Re: Relocating /etc/passwd, shadow and group

2008-12-09 Thread David Boyes
On 12/9/08, Dominic Coulombe [EMAIL PROTECTED] wrote: Would it be a better solution to have a local, read write /etc disk with some symbolic links pointing to the secured files I want to be identical between two clones ? I am open to other suggestions as well. Unionfs.