On Tuesday 25 of January 2005 12:47, you wrote:
> Hello Piotr
> I'm getting confused. Did you make the "fix" before or after the "getent"?

No no no.

Before installing the mysql-server package the mysql user was placed in 
passwd.db. It made a "Fatal error: Can't change to run as user 'mysql'.  
Please check that the user exists!' error". I did some outputs for you and 
then fixed the /etc/passwd with getent command then reinstalled mysql-server 
package.

> If you use NIS, you are suppsed to have "nis" in /etc/nsswitch.conf,
> because otherwise it's impossible for applications to "know" that they
> should also look in NIS for passwd data, or? Getent simulates the normal
> "getpwent" mechanism so whatever you originally configured, if "getent
> passwd mysql" works, then my packages should see the mysql user and work
> fine. If they don't, they create a user in /etc/passwd or more specific in
> whatever adduser has configured as target database.

I'm using LDAP and DB backends. It seems like mysql requires user entry only 
in /etc/passwd file.

-- 
 .''`.    Piotr Roszatycki, Netia SA
: :' :    mailto:[EMAIL PROTECTED]
`. `'     mailto:[EMAIL PROTECTED]
  `-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to