Changes

Jump to: navigation, search

OpenBSD Post Install Steps

78 bytes added, 12:26, 2 October 2019
Create a user
=== Vultr.com ===
Vultr.com doesn't install ssh keys, you will need to log-in as root with the generated autogenerated password, then install your ssh key.
# As root
echo 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJnkro8LT0TS+NTOIB787wfqIwv2VTmXXYsnsoVk71UE aram@horizon.local' >> /root/.ssh/authorized_keys
Change the generated autogenerated password: usermod -p `jot -r -c 30 a z | rs -g0 0 30 | encrypt-b a` root == Set the hostname ==  echo 'freedom.mgk.ro' > /etc/myname
== Update the software ==
This will create a user with a random password that can do passwordless doas:
useradd -m -g staff -L staff -G wheel -c 'Aram Hăvărneanu' -s /usr/local/bin/bash ksh -p `jot -r -c 30 a z | rs -g0 0 30 | encrypt-b a` aram
Enable passwordless doas for the staff group:

Navigation menu