Below are some of the scenarios I can think of where sudoers file can be used, if you have any more questions for which you want any help of post us here in the comment section and I can try to update the article with more example scenarios To understand more on every syntax used ... Read more Tutorial / Cheatsheet:12 practical examples for different sudo access based scenarios in RHEL 7 / CentOS 7
This article contains overview on the various syntax and aliases which are used in sudoers file IMPORTANT POINT: It is strongly recommended to use "visudo" to edit the sudoers file rather than using normal editor and directly modifying the original file /etc/sudoers as that way you will not be able to do any syntax check. ... Read more Understanding syntax, arguments, aliases used in sudoers file with examples (visudo)
Follow the below link to get an overview of the syntax used in the sudoers file Understanding Syntax, Aliases, Variables used in sudoers file with examples In this blog I will try to keep my self strictly to the point of issue. You might have noticed that at times when you try to execute a ... Read more Why is sudo command asking for root password in RHEL/CentOs 6 / RHEL/CentOS 7?
In this post I will be very brief on the topic we need to do. As for more knowledge on sudo command and sudoers file follow the below link Understanding syntax, arguments, aliases used in sudoers file with examples (visudo) As per my knowledge there are two methods to do the same. I have tested ... Read more How to give normal user root privileges using sudo in Linux/Unix
In Linux you can easily give permissions to user on a command basis, according to which that user will be allowed to run only those commands as super user and apart from those he/she would act as a normal user with normal privilege. There can be cases when you want your user to be allowed ... Read more How to give permission to user to run some commands in Linux