From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Greear Subject: Re: password visible in 'mount' output? Date: Tue, 31 Aug 2010 12:47:33 -0700 Message-ID: <4C7D5C55.8030506@candelatech.com> References: <4C7D3620.8070204@candelatech.com> <4C7D5775.40206@candelatech.com> <4C7D5A55.8090707@candelatech.com> <20100831154301.69a2274d@tlielax.poochiereds.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Steve French , linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Jeff Layton Return-path: In-Reply-To: <20100831154301.69a2274d-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org> Sender: linux-cifs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: On 08/31/2010 12:43 PM, Jeff Layton wrote: > On Tue, 31 Aug 2010 12:39:01 -0700 > Ben Greear wrote: > >> >>> Standard Fedora 13, as far as I can tell, and I have no mount.cifs >>> in $PATH >>> >>> >>> You are right - if you are missing mount.cifs you will see what is >>> passed into previous mounts, including the password (and cifs can't >>> filter it out for you since this is being done by mount). Not sure if >>> this is fixable though - you should have mount.cifs installed (when this >>> would not be a problem) and Fedora does package mount.cifs. >> >> I installed 'cifs-utils', which provides /sbin/mount.cifs, >> but 'mount' output is the same. >> >> [root@ct503-10G-09 lanforge]# mount.cifs -V >> mount.cifs version: 4.6 >> > > Running "mount" without args just displays the contents of /etc/mtab. > If you did the mount previously and then installed mount.cifs, it won't > fix the contents of /etc/mtab. New mounts shouldn't store the password > in /etc/mtab though. Ahh, that did indeed fix it. Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com