Check your /etc/profile. Mine looks like the following:

if [ "`id -u`" -eq 0 ] || [ "`id -u`" -eq 1000 ]; then
  PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
else
  PATH="/usr/local/bin:/usr/bin:/bin:/usr/games"
fi

It includes /sbin etc. in the path of the users with UID 0 (root) or UID 1000


-- 
Justin Jereza
LPIC-1
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Reply via email to