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
-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
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.
> >
> >
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
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
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
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
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
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
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
;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
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.
+--
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
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
.
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
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
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
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
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
19 matches
Mail list logo