Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 19th November 2008, 05:49 PM
SteveT Offline
Registered User
 
Join Date: Feb 2007
Location: UK
Posts: 45
FC9 sudo sudoers env_reset

Under fc4/fc6 I can sudo and keep the original users environment ok. Under FC9 it appears that the environment is reset to a basic level and this appears to be dependent on env_reset.
The problem is that I can't see how to turn env_reset off. It says that env_reset is the default - but the parameter env_reset doesn't take any arguments - so how do I stop it being the default?
Reply With Quote
  #2  
Old 21st November 2008, 08:41 AM
SteveT Offline
Registered User
 
Join Date: Feb 2007
Location: UK
Posts: 45
Does anyone know who makes the distro for FC9?

I found this link:
http://markmail.org/message/dpyivs3nimzykdir

that seems to imply that the 1.6.9p13 release was compiled with secure_path set. This seems to always then reset PATH to a fixed set of directories, irrespective of what other settings you have in the sudoers file (I have !env_reset and have added PATH to env_keep - as well as trying sudo -E with setenv set in the defaults.

So can anyone tell me how I keep PATH set - or if it is not possible to keep PATH when sudo is compiled with secure_path can I ask why the package is compiled with that option (as it then seems impossible to keep the PATH with the options in sudoers - and surely the options are there to allow the user tio configure different behaviours?).
Reply With Quote
Reply

Tags
envreset, fc9, sudo, sudoers

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sudoers lee1969 Using Fedora 3 8th August 2009 10:31 AM
sudo doesnt work. (sudoers problem) arshad3m Using Fedora 26 14th June 2009 12:52 PM
sudo <user in sudoers> versus su root D_bot Using Fedora 4 17th April 2009 02:56 AM
What With Sudoers ? esthelle Using Fedora 7 2nd April 2008 01:34 PM
not in the sudoers file frankje Using Fedora 4 19th April 2007 01:37 AM


Current GMT-time: 17:12 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat