FS#1729 - skel dotfiles overwrite existing users home dotfiles
Attached to Project:
Arch Linux
Opened by Gary Singleton (gsinglet) - Thursday, 04 November 2004, 02:42 GMT
Opened by Gary Singleton (gsinglet) - Thursday, 04 November 2004, 02:42 GMT
|
Details
I'm not sure where it happens or if/how it can be turned off
but I keep my /home on a seperate partition to make it
easier to just install on / and then mount all my users.
When I use the adduser script to add users though the
existing .bashrc .bash_profile & .xinitrc are
overwritten with the versions from /etc/skel. I now back
these up as a matter of course but it is still bad behaviour
in my opinion.
On a related note, the adduser script in Arch is much older than the current script as provided by Stuart Winter at: http://www.interlude.org.uk/unix/slackware/ http://www.interlude.org.uk/unix/slackware/adduser (direct link) Some nice features and fixes have been added. I actually use the updated script now in my installation and it has worked fine. The skel files still overwrite the existing files however so upgrading the script (if you chose to) would not fix my issue. |
This task depends upon
Home directory [ /home/test ]
- Warning: '/home/test' already exists !
Do you wish to change the home directory path ? (Y/n)
The 'useradd' utility is more suited to your needs here. Running 'useradd' without the -m switch will not create the user's $HOME or copy any skel files over.
I'll update the adduser script for the next release of the shadow package.