sudo policies
Begining with this section, we will create a file in /etc/sudoerd.d/. The file will serve the purpouse of storing our sudo policy.
Last updated
Was this helpful?
Begining with this section, we will create a file in /etc/sudoerd.d/. The file will serve the purpouse of storing our sudo policy.
Last updated
Was this helpful?
The command that we will use will be
Then we must create a directory as is asked in the subject in /var/log/ because each commands need to be logged, the input and output. We will use:
We must edit the file that we created in the first step of this section. Use any text editor, but for this guide as is in every screenshot we will use nano. Use:
Once we are editing the file we must set it up with the following commands:
As it should be on the file: