Re: su upgrade behaviour

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

 




*********** REPLY SEPARATOR  ***********

On 7/26/2003 at 7:42 PM Gerry Doris wrote:

>I upgraded to RH 9 from 7.3.  I thought that all was working properly but
>I just ran into a strange one with su.
>
>I'm sure that I was able as root to just do a 
>
>su gerry
>
>and I would become user "gerry".  However, when I try that now I become 
>user "gerry" but the following error message is printed out...
>
>/bin/bash: /root/.bashrc: Permission denied
>
>I can eliminate the error message by just doing a 
>
>su - gerry
>
>Also, as "gerry" I can su to root or another user without error (just 
>asked for the correct password).  It's only when I try to su as root to 
>another user without the "-" that causes the error.
>
>Anyone know why this has started to happen?
>
>-- 
>Gerry
>
>"The lyfe so short, the craft so long to learne"  Chaucer
>
>
>
>-- 
>Shrike-list mailing list
>Shrike-list@xxxxxxxxxx
>https://www.redhat.com/mailman/listinfo/shrike-list

i don't know what's causing that, but it would be a good idea to alias your su
command to' su -' because just doing the simple 'su' is a security hole. using
'su -' makes the operation a log on.

or better still, use sudo.


regards,

shane


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux