From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15072 invoked from network); 29 Aug 1997 05:48:40 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 29 Aug 1997 05:48:40 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id BAA05874; Fri, 29 Aug 1997 01:41:26 -0400 (EDT) Resent-Date: Fri, 29 Aug 1997 01:41:02 -0400 (EDT) Message-ID: <19970829134002.27281@ucc.gu.uwa.edu.au> Date: Fri, 29 Aug 1997 13:40:02 +0800 From: Duncan Sargeant To: zsh-users@math.gatech.edu Subject: Re: zsh as root login References: <199708271045.GAA27847@math.gatech.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.83 In-Reply-To: ; from Tim Writer on Wed, Aug 27, 1997 at 07:20:07PM -0400 Resent-Message-ID: <"Bg9Ft1.0.5R1.j3c1q"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/995 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Tim Writer wrote on Wed August 27, at 19:20 -0400: > I prefer to keep root dead simple, using /bin/sh without evan a > .profile. In an emergency, I can (almost) always login as root. For > day to day administration, I have a second root account (uid 0 but a > different login name) which has zsh and a full set of startup files as > its login shell. That's sort of what I like to do to. I export ZDOTDIR in my user shell, and use this function for su: function su { command su ${*:--c zsh} } It gives my a nice root shell when I su, without annoying the rest of wheel with the extra uid 0 account. It may not suit your needs depending on how paranoid you are with your regular zsh configuration, and how paranoid you want to be as root ;-) cheers ,dunc -- Duncan Sargeant - metacitizen - http://www.ucc.gu.uwa.edu.au/~dunc/