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 Comment to "create an user OS which has privilege like root user"
Post a Comment