Cara membuat user sudoers di linux
Berikut langkah langkahnya :
- Log in pada server linux
- Ketik comand ini#adduser username
- Output yang ditampilkan lalu masukan passwordAdding user ‘username’ …
Adding new group ‘username’ (1001) …
Adding new user ‘username’ (1001) with group ‘username’ …
Creating home directory ‘/home/username’ …
Copying files from ‘/etc/skel’ …
New password:
Retype new password:
passwd: password updated successfully - Lalu ketik Y dan enterChanging the user information for username
Enter the new value, or press ENTER for the default
Full Name []:
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [Y/n] - Lalu tambahkan user ke dalam group sudo :#usermod -aG sudo username
Di tulis oleh: Nanda Anubis