Path: utzoo!attcan!uunet!mcvax!ukc!etive!hwcs!zen!frank From: frank@zen.co.uk (Frank Wales) Newsgroups: comp.unix.questions Subject: Re: tcsh Message-ID: <1586@zen.co.uk> Date: 26 May 89 13:58:35 GMT References: <3693@udccvax1.acs.udel.EDU> <8170001@hpfcdq.HP.COM> Reply-To: frank@zen.co.uk (Frank Wales) Organization: Zengrange Limited, Leeds, England Lines: 21 In article <8170001@hpfcdq.HP.COM> benji@hpfcdq.HP.COM (Jeff Benjamin) writes: >> Sometime during the winter, tcsh was installed on the vax1 here. >> I've been trying to change from csh to tcsh for a while now with >> no luck whatsoever. > >The proper usage for chsh is: chsh name [ shell ] > >This is on HP-UX, which is Berkely-derived and SysV compatible. >The name (your login name) is NOT optional, though the shell is >( it defaults to Bourne shell /bin/sh ). > >Try "chsh don /usr/local/tcsh" chsh(1) is unreasonably restrictive regarding what it will let you have as a shell. On HP-UX (s800/3.01), only /bin/sh, /bin/csh or /bin/ksh may be specified. Even if you are root, you must specify one of these. Indeed, even HP's own "shell", /usr/bin/pam, is not acceptable to chsh. [Maybe there should be an /etc/shelltab, which lists allowed shells.] -- Frank Wales, Systems Manager, [frank@zen.co.uk<->mcvax!zen.co.uk!frank] Zengrange Ltd., Greenfield Rd., Leeds, ENGLAND, LS9 8DB. (+44) 532 489048 x217