summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author= <termer@protonmail.com>2021-07-01 14:40:01 -0400
committer= <termer@protonmail.com>2021-07-01 14:40:01 -0400
commitf2b536d6931659543e5ad031fd4c9ae43a13953c (patch)
treee2d53de4deeecaade20721b83dbc67890cc71bb8
parent0d089ed2801ed779cbecd40786b15f77ed6472fb (diff)
remove unnecessary uses of sudo
-rw-r--r--irc.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/irc.html b/irc.html
index debf10d..4b8e3a9 100644
--- a/irc.html
+++ b/irc.html
@@ -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>