[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [atomic-devel] No bashrc for root user



On Fri, 2014-11-14 at 13:33 -0500, Colin Walters wrote:
> On Thu, Nov 13, 2014, at 09:51 PM, Dusty Mabe wrote:
> > 
> > For F21 atomic [1] there is no .bashrc for the root user. This means
> > /etc/bashrc is not sourced in an the typical look and feel can seem a
> > bit foreign as compared to a normal F21 environment (i.e. PS1 is not
> > set as you would expect).
> 
> This is because on Atomic, /root -> /var/roothome, and that means it
> starts out empty.  We don't presently take content from the
> "rootfiles" rpm because it's not in /usr.
> 
> I'd like to change the bash default to source /etc/bashrc by default if ~/.bashrc doesn't exist.

 Might be easier to copy /etc/skel to ostree's /root by hand somewhere?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]