[Nix-dev] Re: .bashrc symlink

Lluís Batlle viriketo at gmail.com
Fri Apr 9 17:26:47 CEST 2010


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 <marco-oweber at gmx.de>:
>> 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
> nix-dev at cs.uu.nl
> https://mail.cs.uu.nl/mailman/listinfo/nix-dev
>



More information about the nix-dev mailing list