kde network manager and pam_mount

Valentine Sinitsyn valentine.sinitsyn at usu.ru
Mon Apr 5 07:17:51 CEST 2010


Hello,

> As far as I can tell from the betwork manager man page the scripts in
> /etc/NetworkManager/dispatcher.d would be executed as root.
> This means pam_mount would be initialised as root and not with the
> credentials of the user that just logged in.
I guess, you can just do an ordinary mount like
mount -o uid=<your uid>,gid=<your gid>,any_other_options-you_may_want 
<share> /mnt/share. All the details obviously depends on what you are 
going to mount.

Regards,
Valentine


More information about the kde-networkmanager mailing list