When I was trying to run chkconfig as an ordinary user (on CentOS 5) I realized that I could not access it because the directory, sbin, is not in my $PATH. When I su to root it still doesn't work. I realize that the $PATH variable is the same as the ordinary user that I switched from.
However when I log in as root to begin with, the $PATH variable is the correct one for root and I can run the command.
Is this supposed to work this way? How can I make an ordinary user have temporary access to commands that can only be run as root?