bash/addusers: Arch!

This commit is contained in:
Aminda Suomalainen 2015-09-04 15:35:06 +03:00
parent 1e1814c08d
commit 0f94c566e6

6
bash/addusers Normal file → Executable file
View File

@ -4,7 +4,7 @@
# installations. I am too lazy to always do this by hand! # installations. I am too lazy to always do this by hand!
# Loop with the users # Loop with the users
for user in matti tommi tiina nenne lena for user in mikaela matti tommi tiina nenne lena
do do
# To see that it works # To see that it works
echo "Current user: $user" echo "Current user: $user"
@ -19,9 +19,9 @@ do
done done
# And next sudoers # And next sudoers
for sudoer in matti tommi tiina for sudoer in mikaela matti tommi tiina
do do
# Add the user to sudo group (as they are administrator) # Add the user to sudo group (as they are administrator)
echo "Current sudoer: $sudoer" echo "Current sudoer: $sudoer"
usermod -a -G sudo $sudoer usermod -a -G wheel $sudoer
done done