thanks guys! i changed the line to
if [ `id -u` = 0 ] || [ "`id -g`" -eq 10 ]; then so that if my user is part of wheel it works too. On Thu, Aug 28, 2008 at 1:32 PM, Justin Jereza <[EMAIL PROTECTED]>wrote: > 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 > -- Love God above all else :)
_________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List http://lists.linux.org.ph/mailman/listinfo/plug Searchable Archives: http://archives.free.net.ph

