diff --git a/bin/user.sh b/bin/user.sh index 7679f47..de0edfb 100755 --- a/bin/user.sh +++ b/bin/user.sh @@ -40,7 +40,7 @@ adduser "$user" sed -i "s/$user:\/bin\/ash/$user:\/bin\/bash/g" /etc/passwd # TODO limiting su to the admin group -while [ "$vh" != "y" ] && [ "$vh" != "n" ] +while [ "$yn" != "y" ] && [ "$yn" != "n" ] do echo -n "Should we allow $user to su? [y|n] " read yn diff --git a/readme.md b/readme.md index e1cc56c..26736c0 100644 --- a/readme.md +++ b/readme.md @@ -18,25 +18,33 @@ each alpine linux stable release has it's branch (master is a clone of the last - [x] Fail2ban - [x] Knockd - [x] Mariadb (bug https://bugs.alpinelinux.org/issues/9046) -- [ ] mysql backups +- [x] mysql backups - [x] php7-fpm (7.2) - [x] Nginx - [x] drush - [x] composer -- [ ] letsencrypt -- [ ] vhosts +- [x] letsencrypt +- [x] vhosts - [x] redis - [x] zabbix-agent (3.4 || 4) - [x] urbackup-client +- [x] passwd generator +- [x] urbackup - [ ] solr - [ ] git barre repos - [ ] Proftpd -- [x] passwd generator ## how to use it on a fresh install as root +0 you may need to install ssh server +``` +apk add openssh +rc-update add sshd +/etc/init.d/sshd start +``` + 1 install git ``` apk add git