On Tue, 2008-04-22 at 15:58 -0500, Aaron Konstam wrote: > On Tue, 2008-04-22 at 10:33 -0430, Patrick O'Callaghan wrote: > > On Tue, 2008-04-22 at 09:50 -0500, Aaron Konstam wrote: > > > On Tue, 2008-04-22 at 11:46 +0200, Pedro Jose wrote: > > > > Thanks. > > > > > > > > I send this question because in others computers with Fedora 8 > > > > installed, when I login as root with su, ifconfig is available, but in > > > > my computer no. I'll try with su-, but my question is why it works in > > > > other computers and not in mine with su. > > > > > > > It should not work on any computer. As was explained in the previous > > > post su makes you root with the users environment that does not > > > have /sbin or /usr/sbin in its path. > > > > Maybe not by default, but I usually modify /etc/bashrc to include /sbin > > and /usr/sbin in the PATH for root. /etc/profile actually does this > > already but of ocurse that's only for login shells. I don't really see > > the point of not doing it for "normal" su usage. > > > > poc > > > I hope yo mean you put /sbin and /usr/sbin in the path for users. These > are already in the default path for root. I mean "for users becoming root via su without actually logging in as root using 'su -'" poc -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list