tcsh

Frank Wales frank at zen.co.uk
Fri May 26 23:58:35 AEST 1989


In article <8170001 at hpfcdq.HP.COM> benji at 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 at zen.co.uk<->mcvax!zen.co.uk!frank]
Zengrange Ltd., Greenfield Rd., Leeds, ENGLAND, LS9 8DB. (+44) 532 489048 x217 



More information about the Comp.unix.questions mailing list