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

Michael Raskin 7c6f434c at mail.ru
Mon Feb 14 07:01:37 CET 2011


>> Your idea about having a list in a file can be amended with the word "sorted",
>> so simple diff fed to "xargs rm" will be possible.
>
>If you have time also reflect that you didn't miss the second way to
>solve this:
>
>patch useradd. If something points to /etc/static don't copy symlink
>into ~ - but the file it points to.

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






More information about the nix-dev mailing list