From owner-freebsd-questions Fri Jun 18 5: 6: 8 1999 Delivered-To: freebsd-questions@freebsd.org Received: from btr0xe.rz.uni-bayreuth.de (btr0xe.rz.uni-bayreuth.de [132.180.15.14]) by hub.freebsd.org (Postfix) with ESMTP id F04A01526D for ; Fri, 18 Jun 1999 05:06:00 -0700 (PDT) (envelope-from a0037@stud.uni-bayreuth.de) Received: (from a0037@localhost) by btr0xe.rz.uni-bayreuth.de (8.8.2/8.7.3) id OAA17948 for freebsd-questions@FreeBSD.ORG; Fri, 18 Jun 1999 14:05:56 +0200 (MET DST) Date: Fri, 18 Jun 1999 14:05:56 +0200 From: Juergen Leising To: freebsd-questions@FreeBSD.ORG Subject: Re: bash Message-ID: <19990618140556.B13558@btr0xe.rz.uni-bayreuth.de> References: <002d01beb95a$f975e180$c20c29cb@supadad> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.5i In-Reply-To: <002d01beb95a$f975e180$c20c29cb@supadad>; from Dean Hamstead on Fri, Jun 18, 1999 at 05:19:47PM +1000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Jun 18, 1999 at 05:19:47PM +1000, Dean Hamstead wrote: > ive compiled bash and installed it > when i run bash after ive logged in it works like a dream > > but when i set it as by prompt in /etc/passwd is just seems to ignore the > entry.... is there a file or something i have to register it as a valid > shell?? > This is really strange, but a workaround is chsh Editing of /etc/shells - as proposed in this thread - didn't help in my case: don't know why not. But I must say, I would prefer a working /etc/passwd, because starting a shell is not the only purpose of using the last entry in /etc/passwd: You can use it in order to start different programs, daemons like pppd, for example, or a shell script writing to the screen "Your account has been removed...", which may in some cases be a better solution and a more secure way than just removing the whole entry. This works at least under irix, sunos and linux, but not under FreeBSD. Bye, bye, Juergen. -- **************************************************************** * Juergen Leising; email: juergen.leising@stud.uni-bayreuth.de * * http://www.stud.uni-bayreuth.de/~a0037/ * **************************************************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message