Hard link /etc/passwd

Christoph P. Kukulies kuku at physik.rwth-aachen.de
Tue Jul 1 02:11:22 EDT 2003


On Mon, Jun 30, 2003 at 05:15:21PM -0400, William Dieter wrote:
> You have to be careful when doing maintenance.  For example, if you do:
> 
> mv /etc/passwd /etc/passwd.bak
> cp /etc/passwd.bak /etc/passwd
> 
> all of the copies will be linked to the backup copy.  Normally you 
> might not do this, but some text editors sometimes do similar things 
> silently...
> 
> A symbolic link might be safer.

But it won't work in his diskless environment. Symbolic links are not visible
outside the chrooted environment of the specific diskless clients.

It's gotta be hard links.

> 
> >Good day,
> >I have an 11 node diskless cluster.  All slave node
> >roots are under /tftpboot/node1 ... /tftpboot/node2
> >... so on.  Is it safe to hard link the /etc/passwd
> >and /etc/group file to the server nodes for
> >consistency across the network?
> 
--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
_______________________________________________
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf



More information about the Beowulf mailing list