Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 2003 12:28:50 +0200
From:      Grzegorz Czaplinski <G.Czaplinski@prioris.mini.pw.edu.pl>
To:        Gannater =?iso-8859-2?Q?J=E1nos?= <gannater@freemail.hu>
Cc:        freebsd-newbies@freebsd.org
Subject:   Re: passwd again
Message-ID:  <20030530102850.GA50758@prioris.mini.pw.edu.pl>
In-Reply-To: <freemail.20030430121756.26950@fm6.freemail.hu>
References:  <freemail.20030430121756.26950@fm6.freemail.hu>

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

--VbJkn9YxBvnuCH5J
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, May 30, 2003 at 12:17:56PM +0200, Gannater J=E1nos wrote:
> Hello,
>=20
> I again have a real newbie question.
> As you know I deleteted the users. :((
> And of course some programs need special users, so that they can run.
> For example postfix.
> How can I create a postfix user, that look-ed like this:
> postfix:*:1006:1006:Postfix Mail System:/var/spool/postfix:/sbin/nologin
> And does it need a password?
>=20

:)
pw useradd -u 1006 -g 1006 -c "Postfix Mail System" -d
/var/spool/postfix -m -s /sbin/nologin -h - -n postfix

It does not need the password.

:)
Cheers,
	gregory=09
--
Grzegorz Czaplinski <gregory@prioris.mini.pw.edu.pl>
"The Power to Serve, Right for the Power Users!" - http://www.FreeBSD.org/
 Fingerprint: EB77 E19D CFA2 5736 810F  847C A70F A275 2489 469F

--VbJkn9YxBvnuCH5J
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAj7XMmIACgkQpw+idSSJRp9auACfUVrAF1Fkmapez/mdh4pmG8mP
hRcAmwWiw4tVpzZTTqZa+PHLPVoi80KA
=HysE
-----END PGP SIGNATURE-----

--VbJkn9YxBvnuCH5J--



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