[olug] Path statement
Tim Russell
tim at russell.dhs.org
Sun Jan 14 01:10:34 UTC 2001
Noticed kind of the same thing myself, only in reverse. Emacs is on
/usr/local/bin/emacs, and - as root - that's not in the path. Login with
user account and it works fine from the command line, but su tim - (user
account) doesn't set it.
Dunno, just an observation.
Tim #2
-----Original Message-----
Klaruz wrote:
>
> I don't think you did anything different. The new distro you installed
> probobly doesn't have /sbin and /usr/sbin in the path to keep yourself
from
> shooting a hole in your foot. The theory is, if we make you type
/sbin/lilo
> instead of lilo we make you think about it first. It's like how rm is set
to
> ask you if you're sure all the time if you're root. You can change all of
> this by editing your rc files for your shell. I'm not sure if you're using
> tcsh or bash or something else, so I'll leave that for another email
>
> ... Daniel Pfile ... pfiled at marietta.edu ...
> ... Support the ACLU, your lives depend on it: http://www.aclu.org
> ... 'Daddy, where were you when they took freedom of the press
> ... away from the Internet?' -Mike Godwin
>
> ----- Original Message -----
> From: "Nathan Brown" <tbrownarcher at home.com>
> To: <olug at bstc.net>
> Sent: Saturday, January 13, 2001 5:11 PM
> Subject: Re: [olug] Path statement
>
> >
> >
> > ktb wrote:
> > >
> > > On Sat, Jan 13, 2001 at 04:24:57PM -0600, Nathan Brown wrote:
> > > > In my present install of Red Hat 7 I have a problem I did not have
> with
> > > > previous installs of the same version . Some programs such as FDISK
> or
> > > > LILO and some others too will not load when I type fdisk or lilo in
> the
> > > > command line.
> > > > I'm not familiar with anything that be like the path statement in
> DOS's
> > > > Autoexec file, or is it the config sys. Can't remember .. Is there
> > > > something like that in Linux? If there is something like this that
I
> > > > can write to what is it?
> > > >
> > >
> > > Su to root and run them. Sometimes you have to use the full
> > > path such as /sbin/lilo. It is set that way for security
> reasons.
> > > hth,
> > > kent
> > >
> > > --
> > > "In order to make an apple pie from scratch,
> > > you must first create the universe."
> > > - Carl Sagan
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: olug-unsubscribe at bstc.net
> > > For additional commands, e-mail: olug-help at bstc.net
> >
> >
> > I'm trying to run them from root that is what is strange to me.
> > they work if I type the full path but they ran without that in the
> > previous install ...
> > What did I do different in this install?
> >
> > thanks
> > Nate
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: olug-unsubscribe at bstc.net
> > For additional commands, e-mail: olug-help at bstc.net
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: olug-unsubscribe at bstc.net
> For additional commands, e-mail: olug-help at bstc.net
Ok. But I thought that in previous installs of the same ver I was not
having to do that ... maybe i'm wrong ... but i found something out that
i don't understand ...... when i log in as root it does not work the way
i thought it should. But then when i type su - then it works ...
what is the difference ? I thought that su - was the same as logging in
as root on the login screen.
thanks
Nate
---------------------------------------------------------------------
To unsubscribe, e-mail: olug-unsubscribe at bstc.net
For additional commands, e-mail: olug-help at bstc.net
---------------------------------------------------------------------
To unsubscribe, e-mail: olug-unsubscribe at bstc.net
For additional commands, e-mail: olug-help at bstc.net
More information about the OLUG
mailing list