Bug#1500: adduser makes a .bash_profile in the invoking user's directory

1995-09-28 Thread Ian Jackson
Here is a better version of my patch, which also supplies the home directory to adduser.local. Ian. --- /usr/sbin/adduser Mon Jul 10 02:10:53 1995 +++ /usr/local/sbin/adduser Thu Sep 28 19:31:07 1995 @@ -671,14 +671,14 @@ $this_file = $home_dir . "/" . $file;

Bug#1500: adduser makes a .bash_profile in the invoking user's directory

1995-09-28 Thread Ian Jackson
I reported that adduser creates a .bash_profile file in the invoking user's current directory. On examining the code, it seems that if /etc/skel contains a .login or a .profile it will write those too. Below is a patch that I believe will fix the problem. It also adds a new feature: after creati