[CentOS] Setting PS1 for ordinary users
lists at spuddy.org
Wed Oct 10 16:20:00 EDT 2012
On Wed, Oct 10, 2012 at 04:12:24PM -0400, James B. Byrne wrote:
> As far as I can see the two invocations call the same program. And
> yet, replacing /bin/sh with /bin/bash in the ordinary user's passwd
> entry does indeed change the prompt to one identical to that used by
> root. Does anyone here know why this happens?
Many programs may change behaviour, depending on the name they are
--norc Do not read and execute the personal initialization file
~/.bashrc if the shell is interactive. This option is on by
default if the shell is invoked as sh.
More information about the CentOS