Is it possible to use pam_mount with gvfs and how?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












Is it possible to use gvfs with pam_mount, using user's password for the mounting command ?



How would one achieve that ?



Reading the documentation, it seems this might be a good start, but no way to inject password this way.



<volume user="%(USER)" fstype="fuse" path="gvfs-mount smb://%(USER)@NAME/SHARE" mountpoint="/run/user/%(USERUID)/gvfs" />






share|improve this question



















  • try to add some option options="username=yourUserName"
    – cmak.fr
    Jun 6 at 14:34










  • Username is already taken care of as seen in the snippet, my struggle is with the password and "domain".
    – Zulgrib
    Jun 6 at 16:46














up vote
0
down vote

favorite












Is it possible to use gvfs with pam_mount, using user's password for the mounting command ?



How would one achieve that ?



Reading the documentation, it seems this might be a good start, but no way to inject password this way.



<volume user="%(USER)" fstype="fuse" path="gvfs-mount smb://%(USER)@NAME/SHARE" mountpoint="/run/user/%(USERUID)/gvfs" />






share|improve this question



















  • try to add some option options="username=yourUserName"
    – cmak.fr
    Jun 6 at 14:34










  • Username is already taken care of as seen in the snippet, my struggle is with the password and "domain".
    – Zulgrib
    Jun 6 at 16:46












up vote
0
down vote

favorite









up vote
0
down vote

favorite











Is it possible to use gvfs with pam_mount, using user's password for the mounting command ?



How would one achieve that ?



Reading the documentation, it seems this might be a good start, but no way to inject password this way.



<volume user="%(USER)" fstype="fuse" path="gvfs-mount smb://%(USER)@NAME/SHARE" mountpoint="/run/user/%(USERUID)/gvfs" />






share|improve this question











Is it possible to use gvfs with pam_mount, using user's password for the mounting command ?



How would one achieve that ?



Reading the documentation, it seems this might be a good start, but no way to inject password this way.



<volume user="%(USER)" fstype="fuse" path="gvfs-mount smb://%(USER)@NAME/SHARE" mountpoint="/run/user/%(USERUID)/gvfs" />








share|improve this question










share|improve this question




share|improve this question









asked Jun 6 at 14:28









Zulgrib

1137




1137











  • try to add some option options="username=yourUserName"
    – cmak.fr
    Jun 6 at 14:34










  • Username is already taken care of as seen in the snippet, my struggle is with the password and "domain".
    – Zulgrib
    Jun 6 at 16:46
















  • try to add some option options="username=yourUserName"
    – cmak.fr
    Jun 6 at 14:34










  • Username is already taken care of as seen in the snippet, my struggle is with the password and "domain".
    – Zulgrib
    Jun 6 at 16:46















try to add some option options="username=yourUserName"
– cmak.fr
Jun 6 at 14:34




try to add some option options="username=yourUserName"
– cmak.fr
Jun 6 at 14:34












Username is already taken care of as seen in the snippet, my struggle is with the password and "domain".
– Zulgrib
Jun 6 at 16:46




Username is already taken care of as seen in the snippet, my struggle is with the password and "domain".
– Zulgrib
Jun 6 at 16:46















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1044175%2fis-it-possible-to-use-pam-mount-with-gvfs-and-how%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1044175%2fis-it-possible-to-use-pam-mount-with-gvfs-and-how%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Which professions warranted travel in Medieval times?

How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

Trouble downloading packages list due to a “Hash sum mismatch” error