[X2Go-User] postgres session backend, ldap users first login and pam_mkhomedir
Ja Bi
Bi.Ja at seznam.cz
Fri Mar 15 11:40:14 CET 2019
Hi, I try to run x2go with postgres as session backend. I have users in ldap
database and i would like to use pam_mkhomedir when user connects with x2
goclient/pyhoca for the first time, so i have no $HOME, no $HOME/.x2go and
no $HOME/.x2go/sqlpass.
I tryied
x2godbadmin --addgroup x2gousers
from https://wiki.x2go.org/doku.php/wiki:advanced:multi-node:x2goserver-
pgsql
but
1) group is from ldap/sssd (i think i must switch on sssd enumerate to get
members of ldap groups :( )
2) x2godbadmin does "sub add_user()" so it creates $HOME/.x2go of group
members (and it creates it under user who runs x2godbadmin - so $HOME owner
is root ) and pam_mkhomedir does not take efect so...
How do you set up this scenarios?
x2goserver-4.1.0.0-0.0x2go1.1.git20180302.1517.main.x86_64
SUSE Linux Enterprise Server 12 (x86_64)
VERSION = 12
PATCHLEVEL = 0
thank you very much
H.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x2go.org/pipermail/x2go-user/attachments/20190315/ca249a73/attachment.html>
More information about the x2go-user
mailing list