[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

"reloading" /etc/login.defs ENV_PATH without restarting



Hi,

1. I need a certain directory on my debian squeeze machine ( /var/lib/
gems/1.8/bin/ ) to be in the PATH when i run a sudo command. Hence, I
appended this dir to the ENV_PATH item in /etc/login.defs

2. Is there is a way to get /etc/login.defs "re-evaluated" without
rebooting.  I put an export PATH in ~/.profile and have the path set
for the non-root user. However, a sudo command doesn't see the new dir
in $PATH.

thnx - Gautam
( May the source stay with GNU)


Reply to: