„Basic Installation“ ändern

Jörg Deckert 2024-03-13 18:36:49 +01:00
parent 591e11248c
commit 9fdd0f75f8
1 changed files with 4 additions and 2 deletions

@ -103,6 +103,7 @@
`useradd -m -G users,wheel -s /bin/bash --uid 2001 --user-group --comment "Unitas Network admin" un-jdeckert`
`useradd -m -G users,wheel -s /bin/bash --uid 2002 --user-group --comment "Unitas Network admin" un-iwetzel`
- Add SSH keys:
`mkdir /home/un-jdeckert/.ssh`
`echo -n "ssh-rsa " > /home/un-jdeckert/.ssh/authorized_keys`
`echo -n "AAAAB3NzaC1yc2EAAAADAQABAAABAQDuzZGqCzy" >> /home/un-jdeckert/.ssh/authorized_keys`
`echo -n "vM3HhRezwZCxgwOEERcGr2+eSQJ3hb3C4A+QgYh" >> /home/un-jdeckert/.ssh/authorized_keys`
@ -115,6 +116,7 @@
`echo -n "JGzONSALb2CvU0RoCwpdIRYDn17q50RRDBq/KXJ" >> /home/un-jdeckert/.ssh/authorized_keys`
`echo "u0pxQzdoIzVIxkQwwykc7 Unitas-JDeckert" >> /home/un-jdeckert/.ssh/authorized_keys`
`mkdir /home/un-iwetzel/.ssh`
`echo -n "ssh-rsa " > /home/un-iwetzel/.ssh/authorized_keys`
`echo -n "AAAAB3NzaC1yc2EAAAADAQABAAABAQC/BoCJb3I" >> /home/un-iwetzel/.ssh/authorized_keys`
`echo -n "a+NBVoP7G1hy11DcqB3GiVnN2MewHVKInzVu4br" >> /home/un-iwetzel/.ssh/authorized_keys`
@ -126,8 +128,8 @@
`echo -n "m6ZxB+abw7vmDMYQPlehbJ722fuXg0eAGLERG95" >> /home/un-iwetzel/.ssh/authorized_keys`
`echo -n "IGjjsy/ehR/+MN4L/b0Bf/efStLsHwtz1FW0SnK" >> /home/un-iwetzel/.ssh/authorized_keys`
`echo "veCXUQrI8DpPO+JiKL8oZ Unitas-IWetzel" >> /home/un-iwetzel/.ssh/authorized_keys`
`chown un-jdeckert:un-jdeckert /home/un-jdeckert/.ssh/authorized_keys`
`chown un-iwetzel:un-iwetzel /home/un-iwetzel/.ssh/authorized_keys`
`chown -R un-jdeckert:un-jdeckert /home/un-jdeckert/.ssh`
`chown -R un-iwetzel:un-iwetzel /home/un-iwetzel/.ssh`
- Move and link home directories:
`mkdir /DATA/home`
`mv /home/un-jdeckert /DATA/home/un-jdeckert`