Smbmount for Normal Users
David A. Sinck
plug-discuss@lists.plug.phoenix.az.us
Thu, 5 Jun 2003 08:56:55 -0700
\_ SMTP quoth Craig White on 6/3/2003 23:33 as having spake thusly:
\_
\_ but I don't use smbmount...I use mount
\_
\_ mount -t smbfs -o username=what_ever_user_name,password=users_password
\_ //lnx1/steve /lnx1
I once solved this in what seemed more graceful to me, but ymmv.
Sadly, the smb config wasn't important to me and when I gracefully
parted ways with the company, I didn't think that 'hey, grab that smb
config' in time.
It ran something along these lines:
automounted (via autofs and a custom program map) the smb share(s)
using something like 'credentials=/home/sinck/.win-creds' in the automount
map line produced. In theory, that allowed the credentials to be
chmod 400 and not published in the output of 'mount', IIRC.
This was on a RH 7.1 (.2?) box and except for sawfish, I've never
heard of features getting *dropped* once implemented.
Automounting was important because they kept publishing different
shares as "the place" and I didn't want to remember the magic every
time.
Automounting distro cds is handy too. Particularly if you have a
forest of symlinks through the automounting to the packages in
question. (see cp -s)
David