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-05-2010, 01:06 AM
Tom Horsley
 
Default No /sbin PATH after sudo in Fedora 12 even after the PATH is added in .bash_profile

On Thu, 4 Feb 2010 17:08:56 -0800
suvayu ali wrote:

> That Bugzilla says updates have been pushed to F10. Shouldn't that
> mean its fixed in F11 and F12?

That bugzilla just complained that sudo -V printed info
that conflicted with the behavior of sudo. Apparently the update
they pushed merely made sudo -V stop printing anything except
the version so it no longer conflicts :-).

At some point they did at least add a secure_path option you can
set in the sudoers file like so:

Defaults secure_path = "/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin"

You still get a hard coded path, but at least you can change
the hard coding in the /etc/sudoers file to something like the
above string.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
 

Thread Tools




All times are GMT. The time now is 12:21 AM.

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