Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!husc6!rutgers!sri-spam!ames!sdcsvax!nosc!humu!uhmanoa!uhccux!todd From: todd@uhccux.UUCP (The Perplexed Wiz) Newsgroups: comp.unix.questions Subject: Re: login shell == ../vi Message-ID: <629@uhccux.UUCP> Date: Fri, 26-Jun-87 04:10:52 EDT Article-I.D.: uhccux.629 Posted: Fri Jun 26 04:10:52 1987 Date-Received: Sat, 27-Jun-87 07:03:48 EDT References: <10249@cgl.ucsf.EDU> <196@picuxa.UUCP> Reply-To: todd@uhccux.UUCP (The Perplexed Wiz) Organization: U. of Hawaii, Manoa (Honolulu) Lines: 20 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). However, some system administrators deny access to chsh to prevent users from accidentally changing their login shell (if you don't tell chsh what you want, it changes the login shell to /bin/sh). If you are on a BSD system, check and see if you have /usr/ucb/chsh on it....todd -- Todd Ogasawara, U. of Hawaii Center for Teaching Excellence UUCP: {ihnp4,seismo,ucbvax,dcdwest}!sdcsvax!nosc!uhccux!todd ARPA: uhccux!todd@nosc.MIL INTERNET: todd@uhccux.UHCC.HAWAII.EDU