Linode/Setup

From neuromatch
Revision as of 03:57, 21 November 2022 by Jonny (talk | contribs) (Created page with "Assuming you have made a Linode with Debian 11 == User accounts == * Make user accounts: <syntaxhighlight lang="bash"> adduser \ --system \ --shell /bin/bash \ --gecos 'User Description If u want' \ --group \ --home /home/USERNAME \ USERNAME </syntaxhighlight> * Add user to <code>sudo</code> group (if needed) <syntaxhighlight lang="bash"> usermod -aG sudo USERNAME </syntaxhighlight> == Security == === Install RSA Keys === === Configure s...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Assuming you have made a Linode with Debian 11

User accounts

  • Make user accounts:
adduser \
   --system \
   --shell /bin/bash \
   --gecos 'User Description If u want' \
   --group \
   --home /home/USERNAME \
   USERNAME
  • Add user to sudo group (if needed)
usermod -aG sudo USERNAME

Security

Install RSA Keys

Configure sshd

  • Disable password login
  • Disable root login