I think "useradd -m" uses a 'cp -a' from /etc/skel, and that ends up
in the users HOME. The source of that is in useradd.

You want to modify the contents of /etc/skel I think.

2010/4/9 Marc Weber <[email protected]>:
>> Which symlink?
> If you create a new user account and login some files will be created
> for you. One of them is ~/.bashrc -> /etc/static/skel/.bashrc
>
> If you edit .bashrc using root you'll be editing
> /etc/static/skel/.bashrc by accident which is bad.
>
> I can't find the source at the moment. But if you agree on my proposed
> change I'll digg it up.
>
> Marc Weber
> _______________________________________________
> nix-dev mailing list
> [email protected]
> https://mail.cs.uu.nl/mailman/listinfo/nix-dev
>
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to