Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Nov 2001 19:31:49 +0100
From:      Martin Hasenbein <mh-freebsd-questions@space.net>
To:        Lee Mark Mercado <mercadolee@hotmail.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: adduser
Message-ID:  <20011113193149.A85933@Space.Net>
In-Reply-To: <F123LBUoisLfm3Ytpdu000015e9@hotmail.com>; from mercadolee@hotmail.com on Di , Nov 13, 2001 at 10:29:44am -0800
References:  <F123LBUoisLfm3Ytpdu000015e9@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011113193149.A85933>