sing sudo command, an user can execute root only commands. In this article, let us review how to setup sudo environment along with some sudo command examples, tips, and tricks. 1. Set up sudo Environment in /etc/sudoers You can provide sudo privilege to an individual user or a group by modifying /etc/sudoers. sudo access to an user To provide sudo access to an individual user, add the following line to the /etc/sudoers file. sathiya ALL=(ALL) ALL In the above example: sathiya : name of user to be allowed to use sudo ALL : Allow sudo access from any terminal ( any machine ). (ALL) : Allow sudo command to be executed as any user. ALL : Allow all commands to be executed. sudo access to a group To provide sudo access to a group, add the following line to the /etc/sudoers file. %programmers ALL=(ALL) ALL In the above example: programmers : name of group to be allowed to use sudo. Group name should be preceded with percentage symbol. ALL : Allow sudo...
All Technical question and answer will be provide here. AWS, Azure, Cloud Technologies, Git. Python