On Mon, Jan 20, 2003 at 10:49:08PM -0500, Gerry Doris wrote: > I have two systems running Redhat. One is using 7.3 and the other 8.0. > On the 7.3 system when I as root do > > su gerry > > I end up with a prompt as user gerry. However, when I do the same > thing on the 8.0 system I get the following > > su gerry > /bin/bash: /root/.bashrc: Permission denied > > but I still end up with a prompt as user gerry. I assume the correct > behaviour is the 7.3 system version. Does anyone know why the bash error > appears? I tried using > > su - gerry > > and it works without errors. I can't see anything obvious with > permissions on the /root/.bashrc file. On both systems the file is > owned by root.root with permissions of 644. I'm not sure where else to > look? > > -- su gerry allows you to be gerry with roots environment. Technically then if /root/.bashrc is not world reasable you should get an error. su - gerry gives you gerry's environment so there is no problem. -- ------------------------------------------- Aaron Konstam Computer Science Trinity University 715 Stadium Dr. San Antonio, TX 78212-7200 telephone: (210)-999-7484 email:akonstam@trinity.edu -- Psyche-list mailing list Psyche-list@redhat.com https://listman.redhat.com/mailman/listinfo/psyche-list