572
edits
Changes
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>