[Nix-dev] /etc/skel, useradd - resolve symlinks before copying?

Lluís Batlle i Rossell viriketo at gmail.com
Sat Feb 12 15:42:19 CET 2011


On Sat, Feb 12, 2011 at 02:39:22PM +0100, Florian Friesdorf wrote:
> On Sat, Feb 12, 2011 at 12:54:41PM +0100, Marc Weber wrote:
> 
> The content of the skel .bashrc in the store:
> #!/bin/sh
> 
> if [ -f /etc/bashrc ]
> then
>     source /etc/bashrc
> fi

Is this really needed? Isn't bash always sourcing /etc/bashrc if it exits? Maybe
we better don't keep any .bashrc at all in the skel.



More information about the nix-dev mailing list