What would be the easiest way to execute a command every time a new user is added?
I checked through /etc/adduser.conf , but there is nothing, it seems like it will do it?
I was thinking of adding it to users .bashrc , so it starts when I log in, but I would prefer it to be configured before they are logged in.
Any help would be appreciated.
bsmoo source share