On Sun, 24 Aug 2003, Sean Estabrooks wrote:

> On Sun, 24 Aug 2003 22:34:11 -0400
> Cosmo Lee <[EMAIL PROTECTED]> wrote:
> 
> > 
> > # /sbin/chkconfig --list sshd
> > sshd            0:off   1:off   2:on    3:on    4:on    5:on    6:off
> > #
> > 
> > Is `service` and actual command?  I can't find a man entry for it:
> > 
> > # service sshd start
> > bash: service: command not found
> > #
> > 
> 
> You're right there isn't a man page, but the command is in sbin:
> 
> /sbin/service
> 
> I'll bet you logged in as another user and used su to get 
> to root.  This will leave your PATH without /sbin in it.
> When you su try using the - option like so:
> 
> su - 
> 
> This will load the environment for root properly.
> 

You can also use the more GUI friendly: 

redhat-config-services 

regards,

Didier

--- 
PhD student
 
Singapore Synchrotron Light Source (SSLS)
5 Research Link,
Singapore 117603

Email: [EMAIL PROTECTED] or [EMAIL PROTECTED]
Website: http://ssls.nus.edu.sg



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to