I have a script creating 2 users:
sudo useradd -m user1
sudo useradd -m user2
Afterwards, I set an automatic password and assign a group. I now have to create folders and files within the users that have been created from my account. So for instance, for user1 create 2 directories with a subdirectory in one of them, as well as a file containing a specific message.
Can this be done with sudo permissions?
