Re: password visible in 'mount' output?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 31 Aug 2010 12:39:01 -0700
Ben Greear <greearb@xxxxxxxxxxxxxxx> 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.

-- 
Jeff Layton <jlayton@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux