From owner-freebsd-questions Wed Mar 7 10:52:24 2001 Delivered-To: freebsd-questions@freebsd.org Received: from gekko.i-clue.de (server.ms-agentur.de [62.153.134.194]) by hub.freebsd.org (Postfix) with ESMTP id 53E7837B718 for ; Wed, 7 Mar 2001 10:52:20 -0800 (PST) (envelope-from so@server.i-clue.de) Received: from i-clue.de (automatix.i-clue.de [192.168.0.112]) by gekko.i-clue.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id UAA20229; Wed, 7 Mar 2001 20:58:47 +0100 Message-ID: <3AA683B3.BC99C209@i-clue.de> Date: Wed, 07 Mar 2001 19:53:39 +0100 From: Christoph Sold Reply-To: so@server.i-clue.de X-Mailer: Mozilla 4.75 [de] (WinNT; U) X-Accept-Language: de MIME-Version: 1.0 To: "Houben,G.J.J. (Geert)" Cc: "'freebsd-questions@freebsd.org'" Subject: Re: A * as encrypted password? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "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