Is it possible to use pam_mount with gvfs and how?

 Clash Royale CLAN TAG#URR8PPP
Clash 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" />
pam gvfs
add a comment |Â
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" />
pam gvfs
 
 
 
 
 
 
 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
 
 
 
add a comment |Â
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" />
pam gvfs
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" />
pam gvfs
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
 
 
 
add a comment |Â
 
 
 
 
 
 
 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
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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