added misc segfault.net server scripts
This commit is contained in:
parent
c0b0c5ba67
commit
d250aa9d8a
9
src/.local/bin/sf-regen-user.sh
Normal file
9
src/.local/bin/sf-regen-user.sh
Normal 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"
|
4
src/.local/bin/sf-user.sh
Normal file
4
src/.local/bin/sf-user.sh
Normal file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
# start shell as user on segfault.net servers
|
||||
|
||||
su -l user -s "/bin/bash"
|
Loading…
Reference in New Issue
Block a user