Shared /etc/passwd file? [message #2405] |
Mon, 03 April 2006 16:54 ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
wnpaul
Messages: 15 Registered: March 2006 Location: Vienna, Austria
|
Junior Member |
|
|
It seems to me that it should be possible to create a directory
/vz/private/common/etc/
with files such as passwd, group, hosts, etc. in it,
and then to make hard links to the appropriate locations in
the vps trees, to let the vps share these files.
Of course one would have to safeguard against race conditions
when processes in the vps try to change these files, but other
than that, it should work.
Can anyone think of a reason why this would NOT be a good idea?
Thanks,
Wolf
Wolf N. Paul - Doulos Communications
Vienna, Austria
|
|
|
|
Re: Shared /etc/passwd file? [message #2427 is a reply to message #2405] |
Tue, 04 April 2006 11:32 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
wnpaul
Messages: 15 Registered: March 2006 Location: Vienna, Austria
|
Junior Member |
|
|
You touched on the reason for using OpenVZ: different versions of software for different customers. But mostly the same OS release.
As for centralized authentication methods: that may be a solution, but since all of my VPS sit on a single filesystem, a shared /etc/passwd is something that suggests itself.
Wolf N. Paul - Doulos Communications
Vienna, Austria
|
|
|
|
|