Menambah user baru sebagai sudoers di IGN Server 1.0

0. Setelah selesai instal IGN Server 1.0, masuk dengan user root

localhost login : root

root@localhost#

1. Berikan password pada root

root@localhost# passwd

New Password :

Retype new password :

root@localhost#

2. Buat user igos

root@localhost# useradd igos

root@localhost# cp /etc/sudoers /etc/sudoers.old

root@localhost# echo “igos ALL=(ALL) ALL” >> /etc/sudoers

root@localhost# passwd igos

New Password :

Retype new password :

root@localhost# logout

3. Login sebagai user igos

localhost login : igos

igos@localhost ~$ cat /etc/fstab

cat: /etc/fstab: Permission Denied

igos@localhost ~$ sudo cat /etc/fstab

[sudo] password for igos :

…..

…..

…..

referensi :

http://igos-nusantara.or.id/wiki/index.php/IGOS_Nusantara_dan_sudo

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s