From: "Mark@Ace" <gcsnospam@s054.aone.net.au>
To: Pierre Asselin <pa@roscamp.com>
Subject: Re: preserving/re-creating alias(s) when using su
Date: 1998/12/18 [thread overview]
Message-ID: <367915A7.FB987B0B@s054.aone.net.au> (raw)
In-Reply-To: 367699BC.6006A4F4@roscamp.com
WRONG WRONG!!
No matter what you do the shell run in single user mode is /sbin/sh and is
exec'd explicitly from /sbin/init This allows
even for /etc/passwd to be corrupt , just one of the reasons you might be
booted in single user mode in the first place.
When you su , you start a new shell so your alias are left behind you need
to re source your .profile or set them in roots profile and su -
which ever takes you fancy
Cheers
Mark :)
Pierre Asselin wrote:
> Sandlin,William wrote:
>
>
> Whatever you do, DON'T CUSTOMIZE ROOT. root has to be able to
> login in single-user mode even if the network is down, or /usr
> is corrupted, etc.
next prev parent reply other threads:[~1998-12-18 5:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-12-15 5:00 preserving/re-creating alias(s) when using su Sandlin,William
1998-12-15 5:00 ` Pierre Asselin
1998-12-15 5:00 ` Nikola Milutinovic
1998-12-18 5:00 ` Mark@Ace
1998-12-18 5:00 ` Mark@Ace [this message]
1998-12-18 5:00 ` Mark@Ace
1998-12-16 5:00 ` Charles M Richmond
1998-12-16 5:00 ` Bob Koehler
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox