Changes

Jump to: navigation, search

OSL740 Lab 4

1 byte removed, 13:53, 16 February 2022
m
Part 2: Adding Limited Sudo Capabilities to Other Users
<li>Log out from '''osl740_1''' and log back in as your normal user.</li>
<li>Create a file called '''osl740_1''' in '''/etc/sudoers.d'''. Add the following line to it:
<b><code><span style="color:#3366CC;font-size:1.2em;">oosl740_1 osl740_1 ALL=(ALL) /usr/bin/systemctl</span></code></b>
::This indicates this user can use sudo to run systemctl commands as if they were any account (root is the important one).
</li>
572
edits

Navigation menu