Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh as root login
- X-seq: zsh-users 994
- From: Tim Writer <Tim.Writer@xxxxxxxxxx>
- To: Marc Baudoin <Marc.Baudoin@xxxxxxxxxxx>
- Subject: Re: zsh as root login
- Date: 28 Aug 1997 22:17:24 -0400
- Cc: Bruce Stephens <B.Stephens@xxxxxxxxx>, zsh-users@xxxxxxxxxxxxxxx
- In-reply-to: Marc Baudoin's message of Thu, 28 Aug 1997 09:15:34 +0200
- References: <199708271045.GAA27847@xxxxxxxxxxxxxxx> <m3iuwrw6v8.fsf@xxxxxxxxxxxxxxxxx> <19970828091534.01234@xxxxxxxxxxxxxxxxx>
- Sender: tim@xxxxxxxxxx
Marc Baudoin <Marc.Baudoin@xxxxxxxxxxx> writes:
> Tim Writer <Tim.Writer@xxxxxxxxxx> écrit :
> >
> > Agreed. But I'm curious as to why you (Marc Baudoin) even want zsh
> > statically linked.
>
> Just to be able to log in as root while my computer in booted
> single user, as only / is mounted and root's shell is zsh.
How often are you running single user? If the system is so badly hosed that
you can't get it to go multi-user, having zsh doesn't help much.
> > I prefer to keep root dead simple, using /bin/sh without evan a
> > .profile.
>
> Why? When you're logged as root, you also use ed instead of vi
> to keep it simple? :-)
ed? I use cat. :-)
But seriously, you didn't read what I said. I keep "root" simple for
emergencies. That is, to make sure I can login in an emergency. I have a
pretty fancy set of zsh startup scripts and I don't want a stupid mistake or
an oversite to shut me out of root. An alternate root account with a
different login name and zsh gives me the best of both worlds: safety and
functionality.
> As I manage a lot of machines remotely, I like to have a good
> shell for root (who still uses sh without beeing bothered?) and I
> don't want to have many uid 0 accounts. So root's shell is zsh
> and it needs to be static so I can log in where I'm in front of
> the computer and it's booted single user.
I manage a lot of machines remotely too and I also like having a good shell.
But, I don't mind an extra root account.
However, my main point was: you can have it exactly the way you want it with
a three line script. Trying to make configure be all things to all people
seems unwise.
Tim
--
Tim Writer Tim.Writer@xxxxxxxxxx
FTL Solutions Inc.
Toronto, Ontario, CANADA
Messages sorted by:
Reverse Date,
Date,
Thread,
Author