fixing
This commit is contained in:
parent
5c5c01ed10
commit
81695461b4
1 changed files with 8 additions and 4 deletions
10
auto.sh
10
auto.sh
|
@ -8,6 +8,10 @@ fi
|
|||
|
||||
apt-get install git libssl-dev libpam0g-dev zlib1g-dev dh-autoreconf
|
||||
|
||||
pacman -S git openssl autoconf automake make gcc
|
||||
|
||||
sleep 5
|
||||
|
||||
cd /opt/
|
||||
|
||||
git clone https://github.com/simono41/shellinabox.git && cd shellinabox
|
||||
|
@ -30,11 +34,11 @@ useradd webssh
|
|||
|
||||
mkdir /home/webssh
|
||||
|
||||
chmod 770 -R /home/webssh
|
||||
chmod 770 -R /home/webssh/
|
||||
|
||||
chown -R webssh /home/webssh
|
||||
chown -cR webssh:webssh /home/webssh/
|
||||
|
||||
passwd "webssh <<EOT
|
||||
passwd webssh <<EOT
|
||||
webssh
|
||||
webssh
|
||||
EOT
|
||||
|
|
Loading…
Reference in a new issue