On Sat, Nov 6, 2010 at 3:40 PM, Voytek Eymont <[email protected]> wrote:
>
> I just noticed that on my centos system, /sbin doesn't seem to be 'on
> executable' path, I need to prefix with '/sbin/':
>
> [r...@centos voytek]# service
> bash: service: command not found

How did you get to your root shell session?  If you "su" it doesn't
load in root's .bash_profile & setup the normal PATH for root.

Try "su -" (su space dash) instead, which does load root's profile &
should setup the PATH to include /sbin in your PATH.

HTH

-- 
Regards,
Bernie.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to