* Re: zsh as root login
[not found] ` <199708271045.GAA27847@math.gatech.edu>
@ 1997-08-27 17:29 ` Stefan Monnier
0 siblings, 0 replies; only message in thread
From: Stefan Monnier @ 1997-08-27 17:29 UTC (permalink / raw)
To: zsh-workers
Bruce Stephens <B.Stephens@isode.com> writes:
> 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.
I agree wholeheartedly !
Why do you want /bin/zsh to be statically linked anyway ?
as long as the libraries are kept on the root partition dynamic linking should
work fine in any circumstance and I can't see any special security problems
either.
So just copy /usr/local/bin/zsh to /bin and be careful to also copy every
library referenced (ldd or elfdump or somesuch can give you the list) into /lib
and you should be fine.
Stefan
PS: also I always thought that "sbin" stands for "system binaries" rather than
for "static binaries", in the sense that <something>/sbin should contain
programs that a normal user would normally not use (like mount, lpc, amq
and the usual daemons).
PPS: furthermore, if you install zsh in /bin, then why do you also want it in
/usr/local ? Just "configure --prefix=/ --mandir=/usr/man" and then add
a "ln -s /bin/zsh /usr/local/bin/" for those scripts using the
"canonic path" (it's always a bad idea to have two copies of the same
program since it tends to waste memory by having multiple copies of the
same program in core).
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-08-27 17:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <19970827120222.09334@skiff.solsoft.com>
[not found] ` <199708271045.GAA27847@math.gatech.edu>
1997-08-27 17:29 ` zsh as root login Stefan Monnier
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).