From owner-freebsd-questions Tue Nov 13 10:31:55 2001 Delivered-To: freebsd-questions@freebsd.org Received: from moebius2.Space.Net (moebius2.Space.Net [195.30.1.100]) by hub.freebsd.org (Postfix) with SMTP id 0373737B419 for ; Tue, 13 Nov 2001 10:31:50 -0800 (PST) Received: (qmail 87494 invoked by uid 1408); 13 Nov 2001 18:31:49 -0000 Date: Tue, 13 Nov 2001 19:31:49 +0100 From: Martin Hasenbein To: Lee Mark Mercado Cc: freebsd-questions@FreeBSD.ORG Subject: Re: adduser Message-ID: <20011113193149.A85933@Space.Net> Reply-To: Martin Hasenbein References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from mercadolee@hotmail.com on Di , Nov 13, 2001 at 10:29:44am -0800 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 On Di 13 Nov (10:29:44) Lee Mark Mercado (mercadolee@hotmail.com) wrote: > how do i add user and group without using 'adduser' -- i want to make a user > for apache -- i added the group 'www' on /etc/group -- but how do i add a > user that the system will recognize and will have a /nologin. > Hi Lee Mark, as root: vipw then add something like the folling line: httpd:*:90:90::0:0:User fuer apache:/:/sbin/nologin /mh -- Martin Hasenbein -- mh@free.beastie.de UNIX, a way of life. FreeBSD, my choice of living. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message