Execute shell script everytime a new user is created

后端 未结 3 1991
小蘑菇
小蘑菇 2021-02-15 17:27

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

3条回答
  •  我在风中等你
    2021-02-15 17:56

    I did this some years ago writing a custom script that does everithing I need and calling adduser inside the script to add the user to the system.

提交回复
热议问题