Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Mar 2001 19:53:39 +0100
From:      Christoph Sold <so@server.i-clue.de>
To:        "Houben,G.J.J. (Geert)" <G.Houben@fontys.nl>
Cc:        "'freebsd-questions@freebsd.org'" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: A * as encrypted password?
Message-ID:  <3AA683B3.BC99C209@i-clue.de>
References:  <C1E0E1EF0987D3119E720008C70D266601800AF0@fontmail02.fontys.nl>

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


"Houben,G.J.J. (Geert)" schrieb:
> 
> Hi,
> 
> When I have to create a user i.e. mysqld for running a daemon, how can I do
> that that account cannot login (except from No shell etc)
> Can I put with vipw a * as password? Or do I have to do that when I create
> it?

Just make create the user, using any password you like. After that, edit
/etc/master.passwd, putting the "*" into the passwd field (deleting the
encrypted passwd which is already there). As an additional precaution,
you may wish to set the login shell to /bin/false or something like
that.

HTH
-Christoph Sold

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?3AA683B3.BC99C209>