Re: Service command

2003-09-05 Thread Bret Hughes
On Fri, 2003-09-05 at 15:46, Michael Schwendt wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Fri, 5 Sep 2003 16:16:32 -0400, Mark Haney wrote: > > > Jonathan Bartlett wrote: > > > Remember that "su -" will alter your environment to include /sbin and > > > /usr/sbin, while "su" wi

Re: Service command

2003-09-05 Thread Michael Schwendt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 5 Sep 2003 16:16:32 -0400, Mark Haney wrote: > Jonathan Bartlett wrote: > > Remember that "su -" will alter your environment to include /sbin and > > /usr/sbin, while "su" will not. > > I did not know that. In all the years I've been doing

RE: Service command

2003-09-05 Thread Jonathan Bartlett
A slightly expanded explanation: su only changes permissions of the current process su - does a full login. Jon On Fri, 5 Sep 2003, Mark Haney wrote: > Jonathan Bartlett wrote: > > Remember that "su -" will alter your environment to include /sbin and > > /usr/sbin, while "su" will not. > > > >

RE: Service command

2003-09-05 Thread Mark Haney
Jonathan Bartlett wrote: > Remember that "su -" will alter your environment to include /sbin and > /usr/sbin, while "su" will not. > > Jon > I did not know that. In all the years I've been doing this, I've never heard that. A day is not wasted when you learn something new. Thanks for the tid

RE: Service command

2003-09-05 Thread Jonathan Bartlett
Remember that "su -" will alter your environment to include /sbin and /usr/sbin, while "su" will not. Jon On Fri, 5 Sep 2003, Mark Haney wrote: > Leonard Miller wrote: > > Who are you running the command as? Root should be the only person > > that can run t

RE: Service command

2003-09-05 Thread Leonard Miller
That's ok, i get the same way. Leonard no well function beer without. But /sbin should be in roots path. If it isn't, you might want to put it there. Leonard Automatically inserted lawyer supplied confidentiality notice follows...again >>> [EMAIL PROTECTED] 09/05/03 15:23 PM >>> Okay, someo

RE: Service command

2003-09-05 Thread Mark Haney
Leonard Miller wrote: > Who are you running the command as? Root should be the only person > that can run the service command. If you "su" to root and it doesn't > work, try to use "su -" instead. Or just type /sbin/service. If it > still says command no

Re: Service command

2003-09-05 Thread Leonard Miller
Who are you running the command as? Root should be the only person that can run the service command. If you "su" to root and it doesn't work, try to use "su -" instead. Or just type /sbin/service. If it still says command not found, do a "which service&q

Service command

2003-09-05 Thread Mark Haney
Okay, I've been meaning to ask this question several times and never got around to it, but now I'm curious. I've seen on this list several times commands like: service blah blah restart. When I try the command bash tells me 'service: command not found'. What am I missin

RE: Service Command

2003-03-07 Thread Bret Hughes
On Fri, 2003-03-07 at 15:52, Neumann, Shannon M wrote: > My first message was to indicate that if you include the '-' in the > command, then you should get in to root's environment. But, I think > this is only the case if root has a valid shell listed in /etc/passwd. > By setting root to have no l

RE: Service Command

2003-03-07 Thread Neumann, Shannon M
;su -' command will probably fail.   Shannon Neumann CIS Coordinator Indiana Institute of Technology [EMAIL PROTECTED] (260) 422-5561 ext. 2231   -Original Message-From: David Busby [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2003 4:38 PMTo: [EMAIL PROTECTED]Subjec

Re: Service Command

2003-03-07 Thread Ashley M. Kirchner
Bret Hughes wrote: All of the above but keep in mind that su - (dash included) will setup root's environment including path. True, I forgot about that too, but that's because I don't su to root. I use sudo. :) -- W | I haven't lost my mind; it's backed up on tape somewhere. +--

Re: Service Command

2003-03-07 Thread David Busby
Title: Message Seems like the environment for root isn't getting read when you su to root.   - Original Message - From: Neumann, Shannon M To: [EMAIL PROTECTED] Sent: Friday, March 07, 2003 13:35 Subject: Re: Service Command  oops...  i read your last p

Re: Service Command

2003-03-07 Thread Bret Hughes
root. Now there are a lot of commands I can no longer run from anywhere like > >I have in the past. The main one being the "service" command used to start, stop, > >and restart services. Anyone have a clue how to get those features back? > > > /sbin is no longer

Re: Service Command

2003-03-07 Thread Neumann, Shannon M
. 2231   -Original Message-From: Shannon Neumann [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2003 4:34 PMTo: Neumann, Shannon MSubject: [Fwd: Re: Service Command] Original Message Subject: Re: Service Command Date: Fri, 07 Mar 2003 16:14:55

Re: Service Command

2003-03-07 Thread Ashley M. Kirchner
past. The main one being the "service" command used to start, stop, and restart services. Anyone have a clue how to get those features back? /sbin is no longer in your path as a regular user (even when you su to root). I can offer these suggestions: a) get used to typing /sbin/se

Re: Service Command

2003-03-07 Thread Shannon Neumann
are a lot of commands I can no longer run from anywhere like I have in the past. The main one being the "service" command used to start, stop, and restart services. Anyone have a clue how to get those features back? Thanks Billy -- Shannon Neumann Neumannweb Computers www.neumannweb.net

RE: Service Command

2003-03-07 Thread Rigler, Steve
ge- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2003 3:08 PM To: [EMAIL PROTECTED] Subject: Service Command Until recently I had ssh'd to my Redhat 7.3 machine with the root username. I have removed the login rights now and access the machine with a local

Service Command

2003-03-07 Thread Bildo0422
g the "service" command used to start, stop, and restart services. Anyone have a clue how to get those features back? Thanks Billy -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list