tcsh

Bert Still bert at opusc.CS.SCAROLINA.EDU
Fri Jun 2 05:00:38 AEST 1989


In article <13721 at dartvax.Dartmouth.EDU>, pete at northstar89 writes:
>>  In article <3693 at udccvax1.acs.udel.EDU> don at vax1.acs.udel.EDU writes:
>>  Note that the shell names that chsh(1) will accept are *compiled in*!
>>  So, if it won't take your requests to change your shell talk to your
>>  system administrator.  He/She can either (1) just edit the /etc/passwd
>>  file (assuming a non-YP system, of course), or (2) if source for
>>  chsh(1) is around, update/recompile it.
> Nope, the valid shells are in a text file called /etc/shells.  Just add
> a line to that file (your sysadmin has to do it most probably) that
> points to where your tcsh is located.

Well.... The /etc/shells construction is not yet universally used on
BSD based systems (forget System V for a moment here -- I can't recall
having seen chsh on System V.3...).  For example, our VAX-11/750 runs
MtXinu-4.3 and uses /etc/shells; however, our Sun-4/260s run SunOS
Sys4-3.2, which does not use /etc/shells.  Thus, both of you are
"right" although Don's suggestion of using the good old ``vipw''
will always work (supposing ``vipw'' exists ;-)

					bert at cs.scarolina.edu



-- 
Domain:  bert%opus at cs.scarolina.edu   #####   BITNET:  T410119 at UNIVSCVM
LarynxNet: Bert Still
AcadNet: Computer Services Division, University Of South Carolina



More information about the Comp.unix.questions mailing list