User:Blinkingline/Adding a user to Archon Arcana server
From Archon Arcana - The KeyForge Wiki
How to add a new user to the Archon Arcana server[1]:
Create Home Directory + .ssh Directory
mkdir -p /home/mynewuser/.ssh
Create Authorized Keys File
touch /home/mynewuser/.ssh/authorized_keys
Create User + Set Home Directory
useradd -d /home/mynewuser mynewuser
Add User to sudo Group
usermod -aG sudo mynewuser
Set Permissions
chown -R mynewuser:mynewuser /home/mynewuser/ chown root:root /home/mynewuser chmod 700 /home/mynewuser/.ssh chmod 644 /home/mynewuser/.ssh/authorized_keys
- ↑ Note that this should only be done for someone who needs access to the actual server, not adding a contributor to Archon Arcanca