Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 14769] Tried to dispel a spell as non-root

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 14769] Tried to dispel a spell as non-root
  • Date: 30 Sep 2008 21:04:57 -0000

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.




Archive powered by MHonArc 2.6.24.

Top of Page