HomeProjectsArticlesNotesAbout
Current Size:
Chakra BreakPoints
base0px
sm480px
md768px
lg992px
xl1280px
2xl1536px
Current Height:Width
widthpx
heightpx

Subjects

Servers Catch

#server #config #reference #init

This is a general note catch for server setup, configuration and security best practices.

Server configuration has a fair over lap with ssh and general Linux commands. Because of this overlap some content may be referenced only.

ssh notes

Configring A New Server Checklist

  • [ ] add new admin
  • [ ] disable root admin

Access Remote Server

Adding Users, Passwords and Groups via ClI

Add User

useradd <new-username>
id <new-username>

Add Password to User

sudo passwd <new-username>
# props for password and password confirmation

Add User to Group

sudo usermod -aG <group> <user-name>

Add User to Group

sudo usermod -d <user-name> <group>

Delete User Group

sudo groupdel <group>

🚨 security when configuring a new server first add a new admin and disable the root user.

Role Naming Convention

💡 The naming conventions are just general options. Also note that by using one of these hackers have a known vector to brut force a server.

<auth-level>.<firstname>.<surname>@<domain>

Option One

EA-first.last # Enterprise Admin.
DA-first.last # Domain Admin.
SA-first.last # Server Admin.
WA-first.last # Workstation Admin.
First.last # user level.

Option Two

Tier One (Domain Admin): t1.username
Tier Two (Server-Only Admin): t2.username
Tier Three (Workstation-Only Admin): t3.username
(standard daily-driver): username

Reference

Best Practices: production cloud server - vultr

How to create users in Linux cli - linuxize

system usersname - systemd.io

Enable or Disable root login linux - linuxfordevices.com

More Notes

All Notes

Links

Home Articles Notes Projects About Style Guide Site Credits

Contact

 [email protected]

Location

🌎 Earth