pam_mount SMB

Murray Trainer mtrainer at central-data.net
Mon Nov 28 01:58:34 UTC 2005


On Mon, 2005-11-28 at 07:59, David Wolever wrote:
> 
> On 11/27/05, LeRoy DeVries <dutch1918 at gmail.com> wrote:
>         On Sunday 27 November 2005 13:07, David Wolever wrote:
>         > I don't know of any distros that do (except possibly
>         pmount... but thats
>         > different).
>         > Adding that to /etc/fstab should cause it to be mounted on
>         boot, and the 
>         > uid=,gid= causes it to be mounted so that your user can
>         read/write it.
>         >
>         
>         When I tadd that line to the fstab I get the following error:
>         
>         mount only root can mount //dw/SharedDocs /mnt/music.
> 
> That is if you try and mount /mnt/music  manually.  It should mount
> automatically on boot, if not just use `sudo mount /mnt/music` and
> leave it mounted untill you re-boot.  There is really no need (that I
> can see, at least) to mount the share each time you login.

For users to mount filesystems you have to make one of smbmount, mount
or another mount program setuid root.  Look on Google for more info

Murray




More information about the Pam-list mailing list