Tugger the SLUGger!SLUG Mailing List Archives

[SLUG] /sbin not on executable path?


I just noticed that on my centos system, /sbin doesn't seem to be 'on
executable' path, I need to prefix with '/sbin/':

[root@centos voytek]# service
bash: service: command not found

[root@centos voytek]# /sbin/service
Usage: service < option > | --status-all | [ service_name [ command |
--full-restart ] ]

[root@centos voytek]# echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/voytek/bin

[root@centos voytek]# uname -a
Linux centos 2.6.18-194.17.1.el5 #1 SMP Wed Sep 29 12:51:33 EDT 2010 i686
i686 i386 GNU/Linux




what do I need to fix ?



-- 
Voytek