From owner-freebsd-questions@FreeBSD.ORG Mon Apr 17 00:23:42 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0F0A16A400 for ; Mon, 17 Apr 2006 00:23:42 +0000 (UTC) (envelope-from albi@scii.nl) Received: from post-25.mail.nl.demon.net (post-25.mail.nl.demon.net [194.159.73.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64F3143D45 for ; Mon, 17 Apr 2006 00:23:42 +0000 (GMT) (envelope-from albi@scii.nl) Received: from aseed.demon.nl ([83.160.138.119]:13230) by post-25.mail.nl.demon.net with esmtp (Exim 4.51) id 1FVHWn-000CM2-9P; Mon, 17 Apr 2006 00:23:41 +0000 Received: from aseed.demon.nl (unknown [192.168.0.48]) by aseed.demon.nl (Postfix) with ESMTP id 82DFA58110A; Mon, 17 Apr 2006 02:23:51 +0200 (CEST) Received: from aseed.demon.nl (unknown [192.168.0.48]) by aseed.demon.nl (Postfix) with ESMTP id 0E528581062; Mon, 17 Apr 2006 02:23:50 +0200 (CEST) Received: from 217.19.30.147 (SquirrelMail authenticated user albi) by aseed.demon.nl with HTTP; Mon, 17 Apr 2006 02:23:51 +0200 (CEST) Message-ID: <33259.217.19.30.147.1145233431.squirrel@aseed.demon.nl> Date: Mon, 17 Apr 2006 02:23:51 +0200 (CEST) From: albi@scii.nl To: "jekillen" User-Agent: SquirrelMail/1.4.6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 (Normal) Importance: Normal X-AV-Checked: ClamAV using ClamSMTP Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions Subject: Re: System user creation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Apr 2006 00:23:42 -0000 > I am trying to create a system user for a program to use. > I haven't found any specific instructions for doing this in the FreeBSD manual or Absolute FreeBSD. > The program exits with an error saying it can't create/write to a pid f= ile. > I believe it is the way I used adduser to create it and I don't know what I did wrong. I assigned it the class bin and disabled the password and assigned none as the home dir. > To remove mystery it is MySQL I am trying to get running. it's a bit unclear what you're trying to do, mysql already runs as a "non-privileged" user normally if you want to restrict access to your mysql-database then you can just create a user in mysql and give that user certain permissions (root in mysql !=3D root in FreeBSD) if you really want to run mysql-server as a new user you probably need to change mysql-config settings or put that user in the group mysql (and adjust permissions for mysql-files and dirs accordingly)