[Samba] Samba and the Mount Command
Francesc Guasch
frankie at etsetb.upc.es
Thu Sep 26 11:30:01 GMT 2002
Lloyd Lowe wrote:
>
> Hi All,
>
> I would like to to know how to, using rc.local in the /etc/rc.d
> directory, automate a smbmount with a specific username upon bootup.
>
The command for mounting a share is:
mount -t smbfs -o username=USER,password=PASS //server/share /mnt/point
Or you can add an entry in /etc/fstab like this:
//server/share /mnt/point smbfs username=USER,password=PASS 0 0
type this to test:
# mount /mnt/point
hope this helps.
You can type man mount for the full help.
--
frankie
More information about the samba
mailing list