Skip to main content

Posts

Showing posts with the label sudo

Cara membuat user dan memasukkan ke sudo group

Mencoba membuat sebuah user root@wwww-instance:/home/ext_sabagus_gmail_com# adduser ansible-userAdding user `ansible-user' ... Adding new group `ansible-user' (1001) ... Adding new user `ansible-user' (1000) with group `ansible-user' ... Creating home directory `/home/ansible-user' ... Copying files from `/etc/skel' ... New password:  Retype new password:  passwd: password updated successfully Changing the user information for ansible-user 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] Y Memasukkan ke group sudo root@wwww-instance:/home/ext_sabagus_gmail_com# usermod -aG sudo ansible-user Mencoba user  root@wwww-instance:/home/ext_sabagus_gmail_com# su - ansible-user ansible-user@wwww-instance:~$ sudo su We trust you have received the usual lecture from the local System Administrator. It usually boils down to t