[CentOS] Setting PS1 for ordinary users

Nux! nux at li.nux.ro
Wed Oct 10 17:43:30 EDT 2012


On 10.10.2012 19:52, m.roth at 5-cent.us wrote:
>>
>> I have loked in/etc/profile.d and /etc/bashrc and I cannot see what
>> condition is triggering the different behaviour.
>
> I'd guess whether there's a ~/.bashrc. I've got mine set the way I 
> want
> it; I don't remember a ~/.bashrc being automagically created for new
> users.

New users' homedirs are populated from /etc/skell if you use useradd, 
which do contain a .bashrc (and more).

-- 
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


More information about the CentOS mailing list