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

Marc Weber marco-oweber at gmx.de
Mon Feb 14 20:42:43 CET 2011


Excerpts from Michael Raskin's message of Mon Feb 14 07:01:37 +0100 2011:
> I didn't miss that solution, I just don't know whether useradd is
> the only code path interested in the exact contents of /etc/skel

As always: I'll change my mind if you find a second important application .. :)

patch attached - works for me

Marc Weber
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-shadow-useradd-dereference-etc-skel-symlinks-so-that.patch
Type: application/octet-stream
Size: 3081 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20110214/d5948276/attachment.obj 


More information about the nix-dev mailing list