[CentOS] root .bash_profile?

Bee.Lists bee.lists at gmail.com
Tue May 14 11:49:17 UTC 2019


> On May 14, 2019, at 6:06 AM, Pete Biggs <pete at biggs.org.uk> wrote:
> 
>> OK I think you need to read previous posts on this. 
>> 
>> I’m not looking for any other command.  
> 
> How are 'su' and 'su -' different commands?
> 
> If you really dislike typing the extra "<space> '-'", then setup an
> alias so you only have to type "'s' 'u'" to get it to do what you want.
> 
> P.

If you look, they are not the same.  One has a parameter.  My fix was to park the source into .bashrc and it now works.  



Cheers, Bee






More information about the CentOS mailing list