From: Ben Greear <greearb-my8/4N5VtI7c+919tysfdA@public.gmane.org>
To: Jeff Layton <jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: Steve French <smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: password visible in 'mount' output?
Date: Tue, 31 Aug 2010 12:47:33 -0700 [thread overview]
Message-ID: <4C7D5C55.8030506@candelatech.com> (raw)
In-Reply-To: <20100831154301.69a2274d-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
On 08/31/2010 12:43 PM, Jeff Layton wrote:
> On Tue, 31 Aug 2010 12:39:01 -0700
> Ben Greear<greearb-my8/4N5VtI7c+919tysfdA@public.gmane.org> 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 <greearb-my8/4N5VtI7c+919tysfdA@public.gmane.org>
Candela Technologies Inc http://www.candelatech.com
prev parent reply other threads:[~2010-08-31 19:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-31 17:04 password visible in 'mount' output? Ben Greear
[not found] ` <AANLkTi=ehgG3kxv1oBpvjzmLX0TLp-W8h=h7VJDWoBOb@mail.gmail.com>
[not found] ` <AANLkTi=ehgG3kxv1oBpvjzmLX0TLp-W8h=h7VJDWoBOb-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-08-31 19:26 ` Ben Greear
[not found] ` <AANLkTimZWTDZ--x9yNB0o93ET_EqkOro+v2oFrk4pjZ6@mail.gmail.com>
[not found] ` <AANLkTimZWTDZ--x9yNB0o93ET_EqkOro+v2oFrk4pjZ6-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-08-31 19:39 ` Ben Greear
[not found] ` <4C7D5A55.8090707-my8/4N5VtI7c+919tysfdA@public.gmane.org>
2010-08-31 19:43 ` Jeff Layton
[not found] ` <20100831154301.69a2274d-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2010-08-31 19:47 ` Ben Greear [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C7D5C55.8030506@candelatech.com \
--to=greearb-my8/4n5vti7c+919tysfda@public.gmane.org \
--cc=jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox