Add new file
This commit is contained in:
7
user_setup
Normal file
7
user_setup
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
pacman -S git base-devel sudo
|
||||||
|
|
||||||
|
useradd -m tobi
|
||||||
|
passwd tobi
|
||||||
|
echo "Adding tobi to sudoers list"
|
||||||
|
echo "tobi ALL=(ALL) ALL" >> my_file.txt
|
||||||
|
su tobi
|
||||||
Reference in New Issue
Block a user