zsh-users
 help / color / mirror / code / Atom feed
From: Tim Writer <Tim.Writer@ftlsol.com>
To: Bruce Stephens <B.Stephens@isode.com>
Cc: zsh-users@math.gatech.edu
Subject: Re: zsh as root login
Date: 27 Aug 1997 19:20:27 -0400	[thread overview]
Message-ID: <m3iuwrw6v8.fsf@snoopy.ftlsol.com> (raw)
In-Reply-To: Bruce Stephens's message of Wed, 27 Aug 1997 11:44:50 +0100

Bruce Stephens <B.Stephens@isode.com> writes:

> Marc.Baudoin@solsoft.com said:
> > That's not what I meant.  Basically, I want to do :
> 
> > ./configure; make; make install
> 
> > and end with a dynamic zsh in /usr/local/bin and a static one in /
> > bin.  The man pages and info files can be installed only one time in /
> > usr/local. 
> 
> Yeah, but how many other people want that?  I think you're better off making 
> and installing it once normally, into /usr/local, and then configuring and 
> building a static version for /bin and installing that by hand.

Agreed.  But I'm curious as to why you (Marc Baudoin) even want zsh
statically linked.  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.

And by the way, I install zsh as /bin/zsh, dynamically linked.

What's wrong with:

        ./configure ; make ; make install
        rm Src/zsh
        make LDFLAGS='-static' ; make install bindir='/bin'

One set of object files, dynamic zsh in /usr/local/bin, static zsh in /bin,
and no changes to the zsh distribution.

Tim

-- 
Tim Writer                                              Tim.Writer@ftlsol.com
FTL Solutions Inc.
Toronto, Ontario, CANADA


  reply	other threads:[~1997-08-27 23:37 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 [this message]
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
     [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=m3iuwrw6v8.fsf@snoopy.ftlsol.com \
    --to=tim.writer@ftlsol.com \
    --cc=B.Stephens@isode.com \
    --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).