- To: slug@xxxxxxxxxxx
- Subject: [SLUG] /sbin not on executable path?
- From: "Voytek Eymont" <lists@xxxxxxxxxx>
- Date: Sat, 6 Nov 2010 15:40:53 +1100 (EST)
- Reply-to: lists@xxxxxxxxxx
- User-agent: SquirrelMail/1.5.1
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