hm.. intersting..

actually i *am* able to login as non-root user into mysql (and as a root
also:))

i think more secure solution for this would be to add vpopmail into mysql
group and instead of giving world read permition just give to mysql group
read permition..

although which user should i add into mysql group? is it vpopmail .. is this
user used while performing ./vuserinfo task?

----- Original Message -----
From: "Alex Kramarov" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 22, 2001 6:40 PM
Subject: Re: vsql_getpw: failed select


I actually ran into this myself, and you probaly have the same problem. try
logging into mysql with non-root user and with default RedHat installation
(that is what I am using) you will fail. mysql connectivity from the app to
the database is done through unix sockets

/var/lib/mysql/mysql.sock

the default permissions for the /var/lib/mysql directory are for the mysql
user only, and of course root can access it, but vpopmail user cannot. I
just gave the directory world readable permissions, this did the trick. i am
wondering if there is another way to do this ? i actually didn't see
anything about this issue in the first 5 pages of the mailing list archive .
.

-------Original Message-------
From: alexus
Date: ��� ���� 22 ���� 2001 20:37:10
To: [EMAIL PROTECTED]
Subject: vsql_getpw: failed select
even though i can check this user's e-mail for some unknown reason whenever
i do vuserinfo on this user i get this error
su-2.05# ./vuserinfo [EMAIL PROTECTED]
vsql_getpw: failed select
su-2.05#
could someone explain this to me?
thank you in advance


Reply via email to