[NCLUG] samba share question
James DeWitt
jdewitt36 at home.com
Tue Aug 21 18:20:42 MDT 2001
On Tuesday 21 August 2001 17:49, you wrote:
> "J. Paul Reed" wrote:
> > Take a look at smbmount; I don't use samba on a daily basis, but I'm
> > pretty sure that's the "user" utility for mounting shares wherever you
> > want within your own directory space.
>
> yea, thats where I got the idea to put the username and all that in
> /etc/rc.local. If I'm at home (and I am btw) the share which is also the
> user password is in plain text so anyone that can read /etc/rc.local can
> see it plain as day. again, here at home no big deal, but in a work
> environment...
> ... snip...
I call a script containing the smbmount command from /etc/rc.d/rc.local on
a Linux machine at work. The script file is owned by root:root with
permissions of 700.
It is necessary to specify uid=UID gid=GID (and perhaps fmask=FMASK
dmask=DMASK) in order to get the thing to behave.
Cheers,
James DeWitt
More information about the NCLUG
mailing list