samedi 21 février 2015

Possible to deliver centrally configured login scripts on Linux?


In Windows you can assign login scripts which run whenever a user logs into a system which allows admins to do things like map drives/printers and generally do anything for which there isn't a premade tool or a way to do whatever it is you're wanting to do using group policy.


I can visualize how to replace a lot of group policy functionality by combining LDAP group memberships with puppet configuration but I can't approximate drive mappings. Autofs comes to mind, but to my knowledge it would only define certain directories that get mounted when you cd into them, not directories that get mounted when you log into a system and it wouldn't necessarily be for that particular user.


I looked into logind for systemd platforms, but didn't seem anything that would get ran when a user logs in/out so I can't use puppet to drop a script somewhere and configure logind to run them as appropriate.



Aucun commentaire:

Enregistrer un commentaire