smbmnt

   
smbmnt

This is a low-level helper program for mounting smbfs filesystems. It used by smbmount to do the privileged part of the mount operation on behalf of an ordinary user . Generally, users should not run this command directly.

Command synopsis

 smbmnt mnt_point   [options]   

Options

-r

Mounts the filesystem as read-only.

-u uid

Specifies the UID to use for the owner of the files.

-g gid

Specifies the GID to use for the group of the files.

-f mask

Specifies the octal file mask.

-d mask

Specifies the octal directory mask.

-o options

Specifies the list of options that are passed to the smbfs module.

To allow users to mount SMB shares without help from an administrator, set the "set user ID" permission on the smbmnt executable. However, note that this can raise security issues.

   


Using Samba
Using Samba: A File and Print Server for Linux, Unix & Mac OS X, 3rd Edition
ISBN: 0596007698
EAN: 2147483647
Year: 2003
Pages: 475

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net