FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

LinkBack Thread Tools
Old 02-04-2010, 10:13 PM
"Richard R. Cahilig"
Default No /sbin PATH after sudo in Fedora 12 even after the PATH is added in .bash_profile


I have a problem with my fedora 12 box. There is no /sbin and /usr/sbin PATH
after using sudo. This is the output if I run the command echo $PATH.

I tried to add the /sbin and /usr/sbin PATH in .bash_profile but I still have
the same problem.

If I use the command su, and if I run the command echo $PATH, the /sbin and
the /usr/sbin is there.

I need to use sudo instead of su for security reasons and I don't want to type
the whole /sbin PATH if I will run some command from this /sbin. I don't know
what is the problem I'm having in my fedora 12 box, please advise. Looking
forward to your help. Sorry for my English.

Best Regards,

Richard R. Cahilig
users mailing list
To unsubscribe or change subscription options:
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Thread Tools

All times are GMT. The time now is 01:48 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org