From owner-freebsd-questions Fri Jun 1 9:23:35 2001 Delivered-To: freebsd-questions@freebsd.org Received: from k0r3.reflektor.cz (k0r3.reflektor.cz [212.24.129.54]) by hub.freebsd.org (Postfix) with SMTP id D1D4F37B422 for ; Fri, 1 Jun 2001 09:23:31 -0700 (PDT) (envelope-from cynic@mail.cz) Received: (qmail 3500 invoked by uid 202); 1 Jun 2001 16:23:29 -0000 Received: from unknown (HELO zvahlav.mail.cz) (212.24.143.100) by k0r3.reflektor.cz with SMTP; 1 Jun 2001 16:23:29 -0000 Message-Id: <5.1.0.14.2.20010601183039.00b5ebd8@mail.cz> X-Sender: cynic@mail.cz X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 01 Jun 2001 18:31:13 +0200 To: freebsd-questions@FreeBSD.ORG From: Cynic Subject: Re: root shell In-Reply-To: References: <5.1.0.14.2.20010601164100.02768688@mail.cz> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thank you to all who have responded. At 15:55 1.6. 2001 +0100, George Reid wrote: >On Fri, 1 Jun 2001, Cynic wrote: > > > how do I get the root account use other shell than csh? > >chsh(1), or more generally, vipw(8). > > > I have changed the root's shell entry in /etc/passwd to > > /bin/bash, but still get csh upon logging in. > >This is because you're not supposed to do that...Use the correct tools for >editing the password database (which isn't just /etc/passwd). > >-- >+-------------------+---------------------+ >| George Reid | FreeBSD Committer | >| +44 7740 197460 | greid@FreeBSD.org | >+-------------------+---------------------+ cynic@mail.cz ------------- And the eyes of them both were opened and they saw that their files were world readable and writable, so they chmoded 600 their files. - Book of Installation chapt 3 sec 7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message