From owner-freebsd-database Sun Nov 3 3:38: 9 2002 Delivered-To: freebsd-database@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 622ED37B404 for ; Sun, 3 Nov 2002 03:38:06 -0800 (PST) Received: from m20.unixathome.org (m20.unixathome.org [66.11.168.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB37043EA9 for ; Sun, 3 Nov 2002 03:38:05 -0800 (PST) (envelope-from dan@langille.org) Received: by m20.unixathome.org (Postfix, from userid 1001) id D1ECC7A9C; Sun, 3 Nov 2002 06:37:51 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by m20.unixathome.org (Postfix) with ESMTP id 2C2AF1F07; Sun, 3 Nov 2002 06:37:51 -0500 (EST) Date: Sun, 3 Nov 2002 06:37:50 -0500 (EST) From: Dan Langille X-X-Sender: dan@m20.unixathome.org To: patrick gibson Cc: freebsd-database@freebsd.org Subject: Re: MySQL Password not masked in process listings In-Reply-To: Message-ID: <20021103063620.B12870-100000@m20.unixathome.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-database@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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