Hello Piotr On 2005-01-25 Piotr Roszatycki wrote: > > What is the output of "getent passwd mysql", "getent group mysql" > > and "cat /etc/nsswitch.conf"? > > # getent passwd mysql > mysql:!:504:504:MySQL Server:/var/lib/mysql:/bin/false > > # getent group mysql > mysql:!:504: > > # cat /etc/nsswitch.conf > passwd: files db > group: files db > shadow: files > > > I fixed the problem with commands: > > # getent passwd mysql >> /etc/passwd > # getent group mysql >> /etc/group
I'm getting confused. Did you make the "fix" before or after the "getent"? 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. bye, -christian-
pgpBHUa1uRQTy.pgp
Description: PGP signature

