Does anyone know of a way to do the following on Linux. I can't seem to find a way to run a script after the user is authenticated, but before the session starts...
- User types username and password into GDM, LightDM, TTY, etc.
- Rsync pulls their user's profile from a central server
- User's session starts and they complete the days work normally
- User logs out
- Rsync updates user's profile on server
I can easily script everything listed above, I just don't know where to put the scripts to do this...
"Why not use NFS/CIFS/other-nas-protocol?"
High latency network, and spotty connection at times...