Files
linux.softwareshinobi.com/server/provision/.provision.bash.swp

2 lines
12 KiB
Plaintext
Raw Normal View History

2025-05-28 21:40:56 -04:00
b0VIM 9.1<00><>7h<37>s <00>shinobicountach~shinobi/Desktop/linux.softwareshinobi.com/server/provision/provision.bash 3210#"! U
<00> ^<00><00><00><00><00><00><00>da>;87/.&%! <00><00><00><00><00><00><00><00><00><00><00><00>{zedPO8743<00> <00> <00> <00> <00> <00> <00> <00> <00> <00> ` _ " ! <00> <00> <00> <00> <00> <00> <00> <00> <00> <00> { z g f c T Q P 5 4 1    <00> <00> <00> <00> <00> <00> <00> <00> <00> <00> <00> <00> echo "fin."#### finish##service ssh start;apt install -y sudo;apt install -y openssh-server;#### start ssh server#### echo "hey?" > /etc/motd#### change MOTD##chmod -R 555 /tmp/chmod -R 555 /home/shinobi/#### restrict permissions on home##cp /private.key /home/shinobi/.ssh/mkdir /home/shinobi/.ssh/echo 'shinobi:shinobi' | chpasswd##useradd -rm -d /home/shinobi -s /bin/bash -u 1042 shinobi;useradd -u 1042 -g 1042 -rm -d /home/shinobi -s /bin/bash shinobigroupadd -g 1042 shinobi#### shinobi academy user config##apt install -y cmatrix;## apt install -y hollywood;apt install -y vim nano;####source /tmp/.bashrc;##cat /tmp/.bashrc;##ls -l /tmp/.bashrc##cp bashrc /usr/local/bin/bashrc#### install bashrc systemwide##apt update;##cat /etc/issue;echo "Shinobi Academy 24.04" > /etc/issue;cat /etc/issue;## set -x;set -e;###### https://softwareshinobi.com#### Before you go, check read around my blog!#### suitable for newbies.## to set up a linux server## This script installs stuff ###!/bin/bash