smbfs mount shows password
Using 'mount' to show mounted filesets (even as a normal user) shows
the password used for mounting (here in case of samba), whereas
OSol 2009.06 U7 (support line version) just shows ** in place of
the password. This is a security problem and should be fixed quickly.
Updated by Gordon Ross almost 9 years ago
Better fix attached. (one that works:)
Only show the server name and share name in the mounted resource.
That's sufficient, and makes this a normal "UNC" path.
(the name;password stuff was non-standard anyway.)
Updated by Gordon Ross over 8 years ago
- Status changed from In Progress to Resolved
commit 15c4b7fc60958757a4ae2244a3910f06c3308202 Author: Gordon Ross <email@example.com> Date: Tue Oct 30 23:03:27 2012 -0400 3305 smbfs mount shows password Reviewed by: Garrett D'Amore <firstname.lastname@example.org> Reviewed by: Marcel Telka <email@example.com> Approved by: Richard Lowe <firstname.lastname@example.org> :100644 100644 afc4b3c... d8a5a98... M usr/src/cmd/fs.d/smbclnt/mount/mount.c