diff options
| author | = <termer@protonmail.com> | 2021-07-01 14:40:01 -0400 |
|---|---|---|
| committer | = <termer@protonmail.com> | 2021-07-01 14:40:01 -0400 |
| commit | f2b536d6931659543e5ad031fd4c9ae43a13953c (patch) | |
| tree | e2d53de4deeecaade20721b83dbc67890cc71bb8 /irc.html | |
| parent | 0d089ed2801ed779cbecd40786b15f77ed6472fb (diff) | |
remove unnecessary uses of sudo
Diffstat (limited to 'irc.html')
| -rw-r--r-- | irc.html | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -34,8 +34,8 @@ This is good practice for installing software/servers manually, as it give you more fine-grained control over which permissions the application has. </p> -<pre><code>sudo useradd -m ergo -sudo chsh ergo --shell /bin/sh</code></pre> +<pre><code>useradd -m ergo +chsh ergo --shell /bin/sh</code></pre> <p> Next, we want to switch to our newly created <code>ergo</code> user and create the server directory. @@ -538,7 +538,7 @@ cd server</code></pre> <p> It will stay online until you close the terminal, or press CTRL+C. Don't worry, the next section goes over how to make it run like a normal server with a SystemD service.<br> If you have not already, make sure the port <code>6697</code> is not blocked on your server. If you are using UFW as your firewall, - you need to run <code>sudo ufw enable 6697</code> (not as the <code>ergo</code> user, of course). + you need to run <code>ufw enable 6697</code> (not as the <code>ergo</code> user, of course). </p> <h3>Connecting to the server</h3> @@ -626,9 +626,9 @@ WantedBy=multi-user.target</code></pre> To install it, switch to your normal user, and execute the following lines to install, enable, and start the SystemD service: </p> -<pre><code>sudo ln -s /home/ergo/server/ergo.service /etc/systemd/system/ergo.service -sudo systemctl enable ergo -sudo systemctl start ergo</code></pre> +<pre><code>ln -s /home/ergo/server/ergo.service /etc/systemd/system/ergo.service +systemctl enable ergo +systemctl start ergo</code></pre> <p>Ergo is now installed and running as a service, and will automatically start when the system boots.</p> |
