Re: No /sbin PATH after sudo in Fedora 12 even after the PATH is added in .bash_profile

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

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux