Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!ut-sally!husc6!bloom-beacon!bu-cs!m2c!ulowell!eagle!arosen From: arosen@eagle.CS.ULowell.Edu (Andy Rosen) Newsgroups: comp.unix.questions Subject: Re: login shell == ../vi Message-ID: <1452@ulowell.cs.ulowell.edu> Date: Fri, 26-Jun-87 13:57:37 EDT Article-I.D.: ulowell.1452 Posted: Fri Jun 26 13:57:37 1987 Date-Received: Sat, 27-Jun-87 10:35:51 EDT References: <10249@cgl.ucsf.EDU> <196@picuxa.UUCP> <629@uhccux.UUCP> Sender: nntp@ulowell.cs.ulowell.edu Reply-To: arosen@eagle.cs.ulowell.edu (Andy Rosen) Organization: University of Lowell, CS Dept Lines: 28 In article <629@uhccux.UUCP> todd@uhccux.UUCP (The Perplexed Wiz) writes: >In article <196@picuxa.UUCP> tgr@picuxa.UUCP (Thomas Gillespie) writes: >>In article <10249@cgl.ucsf.EDU>, han@cgl.ucsf.edu (Charles S. Han%Langridge) writes: >>>is there any (non-super user) way to change your login shell back to >>>anything functional? >>Not really; you must have root/su/sysadmin privileges to write to the >>password file. > >There is a command called 'chsh' (change shell) in BSD versions of UNIX >that allows non-super users to change their login shell to either >/bin/csh or /bin/sh (and perhaps /usr/new/csh). chsh exists only in BSD versions. SysV does not have chsh so you need super-user access to change someones shell. >However, some system >administrators deny access to chsh to prevent users from accidentally >changing their login shell The file /etc/shells contains a newline seperated list of permissible shells for chsh. If anyone could make their shell whatever they like... Andy Rosen | ulowell!arosen | ************* | "I got this guitar and I ULowell, Box #3031 | | * RD in '88 * | learned how to make it Lowell, Ma 01854 | | ************* | talk" -Thunder Road Andy Rosen | ulowell!arosen | ************* | "I got this guitar and I ULowell, Box #3031 | | * RD in '88 * | learned how to make it Lowell, Ma 01854 | | ************* | talk" -Thunder Road