Am 07.02.2017 um 23:41 schrieb Stefan Baur: > x2godbadmin, however, needs to be run > - on the x2goserver > - by root > - before the user logs in > > -> chicken and egg. Ha, I think I found a way to "hatch the egg"! As root, do: su -s /bin/true # this triggers pam_mkhomedir for x2godbadmin --adduser We *might* consider adding that inside x2godbadmin, but would have to make sure it is only used if pam_mkhomedir is in use/users are non-local users (because it won't do the trick if it's a local user account that doesn't have a homedirectory yet). -Stefan -- BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243