[Bug 350994] New: sudo env_reset PATH
https://bugzilla.novell.com/show_bug.cgi?id=350994 Summary: sudo env_reset PATH Product: openSUSE 10.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: Usability AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: alofflambas@gmail.com QAContact: qa@suse.de Found By: --- I notes where notable to use some binarys for kerberos. (kdestroy) $ echo $PATH /home/affe/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin $ sudo -s $ echo $PATH /usr/sbin:/bin:/usr/bin:/sbin Solution: add PATH /etc/sudoers Defaults env_keep = "... PATH" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=350994 User alofflambas@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=350994#c1 --- Comment #1 from Andreas Pedersen <alofflambas@gmail.com> 2007-12-30 13:24:18 MST --- I just saw that now I don't get the sbin binarys, when i have added PATH into env_keep. Maybe there is a better solution for this? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=350994 Cristian Rodriguez <crrodriguez@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |prusnak@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=350994 User prusnak@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=350994#c2 Pavol Rusnak <prusnak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #2 from Pavol Rusnak <prusnak@novell.com> 2008-01-02 15:34:34 MST --- I can't figure out where is the problem. If PATH is not added to env_keep then it is reset to default value (/usr/sbin:/bin:/usr/bin:/sbin). If you do not have /sbin or /usr/sbin in your $PATH before calling sudo it can hardly appear after calling it. Add /sbin and /usr/sbin to your (user) $PATH. Closing as INVALID. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com