- To: firstname.lastname@example.org
- Subject: Re: ~/.profile
- From: Raf Czlonka <email@example.com>
- Date: Sun, 1 Jan 2012 22:51:05 +0000
- Message-id: <20120101225105.GA8571@linuxstuff.pl>
- Mail-followup-to: firstname.lastname@example.org
- In-reply-to: <email@example.com>
- References: <firstname.lastname@example.org> <20111219184739.GE438@hysteria.proulx.com> <email@example.com> <20111219222419.GA22616@hysteria.proulx.com> <20111220205521.GJ3296@think.nuvreauspam> <firstname.lastname@example.org> <20111221201326.GA30138@hysteria.proulx.com> <email@example.com>
On Sun, Jan 01, 2012 at 09:30:55PM GMT, firstname.lastname@example.org wrote:
> > ... executed with /bin/sh which is not bash by default.
> Understood; but why does the installer put these and no .dashrc?
> peter@joule:~$ ls ~/.*ash*
> /home/peter/.bash_history /home/peter/.bash_logout /home/peter/.bashrc
1. You confused two things - system $SHELL (sh or /bin/sh) and user login
shell are not the same thing.
2. By default, user login shell is /bin/bash.
3. When new user account is being created by the installer, files are
being copied from /etc/skel to new user's $HOME.
4. root has /bin/sh as its $SHELL
Every time you create an account using high-level adduser utility
/bin/bash is being suggested, when using low-level useradd utility
however /bin/sh is the default.
Hope this sheds some light.