Date: Thu, 21 Oct 1999 16:28:16 -0400 (EDT) From: "Joe \"Marcus\" Clarke" <marcus@miami.edu> To: Walter Spierings <Walter@holoprint.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: How to have a tsch for root Message-ID: <Pine.OSF.4.10.9910211620130.25520-100000@jaguar.ir.miami.edu> In-Reply-To: <3.0.32.19991021110117.00e4d100@200.0.0.10>
next in thread | previous in thread | raw e-mail | index | archive | help
BE VERY CAREFUL DOING THIS. By default, tcsh is dynamically linked against libraries in /usr/lib. If the system becomes unusable, and you need to boot into single-user mode, tcsh will NOT work. You must build a statically linked version of tcsh. To do this: (make sure you have a current version of the tcsh port) # cd /usr/ports/shells/tcsh # make configure # cd work/tcsh-6.09.00 # vi Makefile (go to line 154) (uncomment line 154) # cd ../.. # make # cd work/tcsh-6.09.00 # strip tcsh # cp tcsh /bin # chmod 555 /bin/tcsh # chown root.wheel tcsh # vi /etc/shells (add an entry for /bin/tcsh) # vipw (change root's shell) After that, you should have a statically-linked version of the binary. This will let root use tcsh, and allow root to use it in single-user mode. Joe Clarke On Thu, 21 Oct 1999, Walter Spierings wrote: > We use tsch for all our user accounts. > How can we also have the tsch features for the root. > > Walter Spierings > Dutch Holographic Laboratory > Kanaaldijk Noord 61 > 5642 JA Eindhoven > The Netherlands > > tel.: + 31 40 2817 250 > fax.: + 31 40 2814 865 > > Website: www.holoprint.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.4.10.9910211620130.25520-100000>