From owner-freebsd-questions@FreeBSD.ORG Wed Dec 14 22:33:49 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F0CF16A422 for ; Wed, 14 Dec 2005 22:33:49 +0000 (GMT) (envelope-from fbsd_user@a1poweruser.com) Received: from mta9.adelphia.net (mta9.adelphia.net [68.168.78.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9F6743D4C for ; Wed, 14 Dec 2005 22:33:48 +0000 (GMT) (envelope-from fbsd_user@a1poweruser.com) Received: from barbish ([69.172.31.117]) by mta9.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with SMTP id <20051214223348.UEY11358.mta9.adelphia.net@barbish>; Wed, 14 Dec 2005 17:33:48 -0500 From: "fbsd_user" To: "Tofik Suleymanov" , "Ashley Moran" Date: Wed, 14 Dec 2005 17:33:42 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <43A078E8.30504@oxygen.az> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Importance: Normal Cc: freebsd-questions@freebsd.org Subject: RE: Problem adding user with pw X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: fbsd_user@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2005 22:33:49 -0000 Ashley Moran wrote: >Please forgive me if I've missed something obvious, but I've googled for this >error and get no results. > >I want to add a new user with the pw command: > > root@alfie# cat /etc/pw.conf > shellpath = /bin,/usr/bin/,/usr/local/bin > shell = sh,csh,tcsh,bash > defaultshell = bash > > root@alfie# which bash > /usr/local/bin/bash > >but ... > > root@alfie# pw useradd testuser > pw: no default shell available or defined > >Does anyone know why I get this error message? > > >Thanks >Ashley >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > maybe missing entry in /etc/shells ? _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Tofik Suleymanov Sent: Wednesday, December 14, 2005 2:56 PM To: Ashley Moran Cc: freebsd-questions@freebsd.org Subject: Re: Problem adding user with pw On my 5.4 system I have no bash in /usr/local/bin or any place else. I think you have to install bash shell from the ports.