From owner-freebsd-questions@FreeBSD.ORG Tue Jan 31 22:26:49 2006 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 7414216A447 for ; Tue, 31 Jan 2006 22:26:49 +0000 (GMT) (envelope-from frank@ircnow.org) Received: from scott.blazing.de (scott.blazing.de [80.86.187.157]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0499643D46 for ; Tue, 31 Jan 2006 22:26:48 +0000 (GMT) (envelope-from frank@ircnow.org) Received: by scott.blazing.de (Postfix, from userid 510) id 700F194C41; Tue, 31 Jan 2006 23:26:47 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on scott.blazing.de X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.0 Received: from shodan.nognu.de (shodan.nognu.de [85.14.216.230]) by scott.blazing.de (Postfix) with ESMTP id 4EC3494C3F; Tue, 31 Jan 2006 23:26:45 +0100 (CET) Received: by shodan.nognu.de (nbSMTP-1.00) for uid 1002 frank@ircnow.org; Tue, 31 Jan 2006 23:26:45 +0100 (CET) Date: Tue, 31 Jan 2006 23:26:44 +0100 From: Frank Steinborn To: Sean Murphy Message-ID: <20060131222644.GA86369@scott.blazing.de> Mail-Followup-To: Sean Murphy , freebsd-questions@freebsd.org References: <43DFB664.9010403@calarts.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43DFB664.9010403@calarts.edu> X-PGP: 0x41F1741D User-Agent: mutt-ng/devel-r581 (FreeBSD) Cc: freebsd-questions@freebsd.org Subject: Re: No Shell User 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: Tue, 31 Jan 2006 22:26:49 -0000 Sean Murphy wrote: > I need to create a user with no login or home directory abilities. > It just needs to own a few directories and files and be able to > run a daemon. would I use pw or adduser and what would be the > options for that command? Just set the users shell to /sbin/nologin and his home-directory to /nonexistent. The home-directory could be anything else i think, just make sure it doesn't really exist. FreeBSD's nobody user uses /nonexistent, though. Frank