I will create user "bigdata" which has privilege like root user
[root@PTUD-VM02-4 ~]# chmod 640 /etc/sudoers
[root@PTUD-VM02-4 ~]# vi /etc/sudoers
## Allow root to run any commands anywhere
root ALL=(ALL) ALL
bigdata ALL=(ALL) ALL
[root@PTUD-VM02-4 ~]# chmod 440 /etc/sudoers
[root@PTUD-VM02-4 ~]# chmod 640 /etc/sudoers
[root@PTUD-VM02-4 ~]# vi /etc/sudoers
## Allow root to run any commands anywhere
root ALL=(ALL) ALL
bigdata ALL=(ALL) ALL
0 komentar:
Post a Comment