From owner-freebsd-questions@FreeBSD.ORG Wed Dec 14 17:56:21 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 3C3C216A41F for ; Wed, 14 Dec 2005 17:56:21 +0000 (GMT) (envelope-from tofik@oxygen.az) Received: from mail.alkar.net (mail.alkar.net [195.248.191.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id 903B443D46 for ; Wed, 14 Dec 2005 17:56:20 +0000 (GMT) (envelope-from tofik@oxygen.az) Received: from [213.227.193.75] (HELO [192.168.0.177]) by mail.alkar.net (CommuniGate Pro SMTP 4.3.9) with ESMTP id 411444890; Wed, 14 Dec 2005 19:56:18 +0200 Message-ID: <43A078E8.30504@oxygen.az> Date: Wed, 14 Dec 2005 19:56:24 +0000 From: Tofik Suleymanov User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ashley Moran References: <200512141744.05856.work@ashleymoran.me.uk> In-Reply-To: <200512141744.05856.work@ashleymoran.me.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2005 17:56:21 -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 ?