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

Subjects

Servers Catch

Date Created: 2022/02/16

Last Update: 2022/12/23

#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
  • [ ] ssh

Security Hardening

  • [ ] disable password login
  • [ ] change ssh port

Access Remote Server

ssh -v user@IP-Address

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 setup ssh first add a new admin and disable the root user and password login

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

More Notes

All Notes
HomeProjects

Links

Home Articles Notes Projects About Style Guide Site Credits

Contact

 [email protected]

Location

🌎 Earth