What would be the easiest way to execute a command everytime a new user is added?
I checked through /etc/adduser.conf but nothing is in there which looks li
/etc/adduser.conf
I do not know direct way... But, you can check for changes in /etc/passwd file or /home directrory, using, for example inotifywait or using some cron job.
/etc/passwd
/home directrory
inotifywait