From owner-freebsd-questions Thu Oct 21 13:28:19 1999 Delivered-To: freebsd-questions@freebsd.org Received: from jaguar.ir.miami.edu (jaguar.ir.miami.edu [129.171.32.10]) by hub.freebsd.org (Postfix) with ESMTP id 142C414C16 for ; Thu, 21 Oct 1999 13:28:17 -0700 (PDT) (envelope-from marcus@miami.edu) Received: from jaguar.ir.miami.edu ("port 3470"@jaguar.ir.miami.edu [129.171.32.10]) by jaguar.ir.miami.edu (PMDF V5.2-32 #40232) with ESMTP id <0FJY00K8UZJ4DB@jaguar.ir.miami.edu> for freebsd-questions@FreeBSD.ORG; Thu, 21 Oct 1999 16:28:16 -0400 (EDT) Date: Thu, 21 Oct 1999 16:28:16 -0400 (EDT) From: "Joe \"Marcus\" Clarke" Subject: Re: How to have a tsch for root In-reply-to: <3.0.32.19991021110117.00e4d100@200.0.0.10> To: Walter Spierings Cc: freebsd-questions@FreeBSD.ORG Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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