From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,ff9357adfe82f462 X-Google-Attributes: gidfee84,public From: "Mark@Ace" Subject: Re: preserving/re-creating alias(s) when using su Date: 1998/12/18 Message-ID: <367915A7.FB987B0B@s054.aone.net.au>#1/1 X-Deja-AN: 423256550 Content-Transfer-Encoding: 7bit References: <3676689a.410514727@news.mindspring.com> <367699BC.6006A4F4@roscamp.com> To: Pierre Asselin Content-Type: text/plain; charset=us-ascii; x-mac-type="54455854"; x-mac-creator="4D4F5353" X-Trace: news.mel.aone.net.au 913905065 26265 203.12.186.40 (17 Dec 1998 14:31:05 GMT) Organization: Garetech Computer Solutions Mime-Version: 1.0 Reply-To: gcsnospam@s054.aone.net.au NNTP-Posting-Date: 17 Dec 1998 14:31:05 GMT Newsgroups: comp.unix.osf.osf1 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.