Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Apr 2006 02:23:51 +0200 (CEST)
From:      albi@scii.nl
To:        "jekillen" <jekillen@prodigy.net>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: System user creation
Message-ID:  <33259.217.19.30.147.1145233431.squirrel@aseed.demon.nl>

next in thread | raw e-mail | index | archive | help
> 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)








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