linuxmuster / linuxmuster-client-adsso

Scripts and configuration for ubuntu clients to connect to the linuxmuster.net 7 ad
2 stars 2 forks source link

profilescripts with root rights #14

Closed jolly-jump closed 4 years ago

jolly-jump commented 4 years ago

some people might need root rights to change things within the root-context. I found that session-setup-script of lightdm does not work, so there is no root-context within the user context.

use-case: I wish to chown files to the user when he/she logs in and than, of course do it again, when the next logs in.

workaround so far:

REsult:

jolly-jump commented 4 years ago

fixed with 46edd81b9587d204f3cd4d665a4ac4ab9f3fd342 where login-as-root.sh is implemented using pam_exec