Lorenzo Quatrini a écrit :
Also, if you use gdm, you can put your script on /etc/gdm/PreSession.
That's what I did finally. Cleanest solution was to delete the user along with his home directory, and then create him anew using a custom profile in /etc/skel.
Cheers,
Niki