In this time i will share how to create user sudo in linux
1. login in your server as root
2. type “[root@athena ~]# adduser tegar” include your password
3. then edit file “[root@athena ~]# nano /etc/sudoers”
edit like this
## Allow root to run any commands anywhere
root ALL=(ALL) ALL
tegar ALL=(ALL) ALL
save your setting
4. type “[root@athena ~]# gpasswd -a tegar root” for adding user “tegar” to “root” group
success .. & try to login your machine using your login.
thx, 4 Reading



