added misc segfault.net server scripts

This commit is contained in:
dogeystamp 2023-07-19 16:37:06 -04:00
parent c0b0c5ba67
commit d250aa9d8a
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,9 @@
#!/bin/sh
# regen /home/user on segfault.net free servers
rm -rf /sec/home/user
mkdir /home/user
chown user:user /home/user
chmod 700 /home/user
runuser user -s /bin/sh -c "git clone https://github.com/dogeystamp/dots.git ~/dots"
runuser user -s /bin/sh -c "~/dots/dotinstall.sh"

View File

@ -0,0 +1,4 @@
#!/bin/sh
# start shell as user on segfault.net servers
su -l user -s "/bin/bash"