Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Nov 2002 06:37:50 -0500 (EST)
From:      Dan Langille <dan@langille.org>
To:        patrick gibson <freebsd@patrickg.com>
Cc:        freebsd-database@freebsd.org
Subject:   Re: MySQL Password not masked in process listings
Message-ID:  <20021103063620.B12870-100000@m20.unixathome.org>
In-Reply-To: <B9E9705D.6E34%freebsd@patrickg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2 Nov 2002, patrick gibson wrote:

> 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?

It looks like Linux is familiar with mysql and masks that.  It has nothing
to do with mysql.



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?20021103063620.B12870-100000>