Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Nov 2002 12:06:53 -0800
From:      patrick gibson <freebsd@patrickg.com>
To:        <freebsd-database@freebsd.org>
Subject:   MySQL Password not masked in process listings
Message-ID:  <B9E9705D.6E34%freebsd@patrickg.com>

next in thread | raw e-mail | index | archive | help
I've been noticing that in FreeBSD, when I run the MySQL client with a
password specified on the command line (eg. mysql -pMyPassword MY_DATABASE),
the password is not masked when I (or any other user!) issue a "ps" or "w"
command.

> patrick 47724 ...  11:49AM   0:00.03 mysql -pMyPassword MY_DATABASE

I recently switched from Linux, and somehow it knew to mask the password:

> patrick 47724 ...  11:49AM   0:00.03 mysql -p******* MY_DATABASE

Does anyone know if this is a FreeBSD issue, or is it a problem in the way
that MySQL is compiled for FreeBSD?

Thanks in advance,

Patrick


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-database" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B9E9705D.6E34%freebsd>