Re: [SLUG] .bashrc settings

From: Mario Lombardo (mario@alienscience.com)
Date: Mon Apr 01 2002 - 19:29:16 EST


Yes, it's still owned and RW- by the user not root. Anything else I
can look at?

>If you do this as root, verify that the file is still owned by (and readable
>by) that user. If it's not, bash will revert to another rc file present on
>the system (/etc/profile or /etc/.bashrc maybe?). What this ends up being is
>distro dependent, e.g. XF86Config. It looks at a bunch, in other words.
>
>If I'm wrong, at least I didn't waste any paper on it.
>
> Glen
>
>
>On Monday 01 April 2002 16:24, you wrote:
>> I want this to work in one of my user's .bashrc files:
>> alias l='ls -lAF --color=auto'
>>
>> I 'su root' and after I change the file and save it, I exit su and
>> exit the user account and log back in as the user, but the settings
>> won't work, yet I verify the changes took place in .bashrc. What's
>> going on?
>>
>> Also, are users able to run alias at the command prompt? Usually
>> running this command alone will give all of the currently set aliases.
>>
>> Mario



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:34:10 EDT