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 Development

LinkBack Thread Tools
Old 11-18-2008, 08:26 PM
Karlos Smith
Default sudo and secure-path

I'm not usually one to reopen cans of worms, but I must say that I'm not
happy about the way that secure-path is working in the new sudo build.

As I mention in the BZ I filed
(https://bugzilla.redhat.com/show_bug.cgi?id=471603), *adding* /sbin
/usr/sbin and /usr/local/sbin to the path when sudoing root makes sense,
but hardcoding the path has messed me up. I have scripts that I allow
non-root users to execute through sudo without a password, I don't put
those scripts in any of the *bin dirs, but the script dir is in the
users $PATH.

So in order to prevent people from having to type the occasional
"/sbin/", my users (and I, for I use these scripts as well) now have to
frequently type much longer paths to execute these scripts.

And while it was possible for people to add to their path to work around
the previous issue, I'm SOL, because there's no way to work around

Is this really the right thing to do?

Karlos Smith
Red Hat Global Services
+1 361 649-6255 c.

fedora-devel-list mailing list

Thread Tools

All times are GMT. The time now is 11:33 AM.

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