[SM-Sorcery-Bugs] [Bug 14769] Tried to dispel a spell as non-root
bugzilla-daemon at bugs.sourcemage.org
bugzilla-daemon at bugs.sourcemage.org
Tue Sep 30 17:04:57 EDT 2008
http://bugs.sourcemage.org/show_bug.cgi?id=14769
Remko van der Vossen <wich at stack.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |wich at stack.nl
--- Comment #2 from Remko van der Vossen <wich at stack.nl> 2008-09-30 16:04:56 ---
I think this is a "problem" with su, su resets the PATH environment variable to
a standard /bin:/usr/bin path by default, you can set more appropriate default
paths in /etc/login.defs:
#
# *REQUIRED* The default PATH settings, for superuser and normal users.
#
# (they are minimal, add the rest in the shell startup files)
ENV_SUPATH PATH=/sbin:/bin:/usr/sbin:/usr/bin
ENV_PATH PATH=/bin:/usr/bin
SUPATH is used as a path when you su to root, ENV_PATH is used otherwise.
--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the SM-Sorcery-Bugs
mailing list