[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

su - instead of su (WAS: Re: Up2Date / RPM error)



----- Original Message -----
From: "tom" <aovt15@dsl.pipex.com>
To: <limbo-list@redhat.com>
Sent: Saturday, September 07, 2002 8:30 AM
Subject: Re: Up2Date / RPM error


> Ooops! I was trying to keep this problem secret as it seemed stupid to
> complain about the shell path variable not including /sbin and /usr/sbin,
but
> I am still trying to figure how to change the env since the rc is global
and
> makes no mention of paths.

Unless you were doing something on purpose, when you login as normal user,
and want to change to root, do it as "su -" (yes, notice the hyphen after
su) and not just "su".  That way you get root's environment/paths and no
longer need to issue full path commands.

Mike



_______________________________________________
Limbo-list mailing list
Limbo-list@redhat.com
https://listman.redhat.com/mailman/listinfo/limbo-list

[Kernel]     [Red Hat Install]     [Red Hat Development]     [Gimp]     [Yosemite News]

Powered by Linux