In this section, we will go through various controls that can be applied on user accounts:
- Suppose we have two user accounts, user1 and user2. We log in from user2 and then try to run a command, ps, as user1. In a normal scenario, we get this result:

- Now, edit the /etc/sudoers file and add this line:
User2 ALL = (user1) /bin/ps
- After saving the changes in /etc/sudoers, again try to run the ps command from user2 as user1:

- Now, if we want to run the same command again from user2 as user1, but without being asked for the ...