From: Duncan Sargeant <dunc@ucc.gu.uwa.edu.au>
To: zsh-users@math.gatech.edu
Subject: Re: zsh as root login
Date: Fri, 29 Aug 1997 13:40:02 +0800 [thread overview]
Message-ID: <19970829134002.27281@ucc.gu.uwa.edu.au> (raw)
In-Reply-To: <m3iuwrw6v8.fsf@snoopy.ftlsol.com>; from Tim Writer on Wed, Aug 27, 1997 at 07:20:07PM -0400
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/
next prev parent reply other threads:[~1997-08-29 5:48 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-08-27 9:40 Marc Baudoin
1997-08-27 9:59 ` Andrew Main
1997-08-27 10:02 ` Marc Baudoin
1997-08-27 10:09 ` Andrew Main
1997-08-27 10:15 ` Marc Baudoin
1997-08-27 12:51 ` Juergen Christoffel
1997-08-27 12:55 ` Marc Baudoin
1997-08-27 12:58 ` Andrew Main
1997-08-27 10:44 ` Bruce Stephens
1997-08-27 23:20 ` Tim Writer
1997-08-28 1:58 ` Jason R Mastaler
1997-08-28 7:15 ` Marc Baudoin
1997-08-29 2:17 ` Tim Writer
1997-08-29 5:40 ` Duncan Sargeant [this message]
[not found] <5lu3gbh6vp.fsf@tequila.systemsz.cs.yale.edu>
1997-08-28 6:16 ` Geoff Wing
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19970829134002.27281@ucc.gu.uwa.edu.au \
--to=dunc@ucc.gu.uwa.edu.au \
--cc=zsh-users@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).