Compare commits
2 Commits
7c30abb120
...
5e83e5ca68
Author | SHA1 | Date | |
---|---|---|---|
5e83e5ca68 | |||
8385dc1e4d |
12
newSrv.sh
12
newSrv.sh
@@ -158,7 +158,7 @@ debconf-set-selections <<< "postfix postfix/mailname string $MAIL_HOST"
|
||||
debconf-set-selections <<< "postfix postfix/main_mailer_type string Internet with smarthost"
|
||||
debconf-set-selections <<< "postfix postfix/relayhost string pfv-netboot.taile3044.ts.net"
|
||||
postconf -e "inet_protocols = ipv4"
|
||||
postconf -e "inet_interfaces inet_interfaces = 127.0.0.1"
|
||||
postconf -e "inet_interfaces = 127.0.0.1"
|
||||
|
||||
|
||||
export DEBIAN_FRONTEND="noninteractive" && apt-get -qq --yes -o Dpkg::Options::="--force-confold" install \
|
||||
@@ -196,9 +196,19 @@ zsh \
|
||||
zsh-autocompletions \
|
||||
zsh-syntax-highlighting \
|
||||
fonts-powerline \
|
||||
webmin \
|
||||
usermin \
|
||||
cockpit \
|
||||
telnet \
|
||||
postfix
|
||||
|
||||
#Coming very soon, 2fa for webmin/cockpit/ssh
|
||||
#libpam-google-authenticator
|
||||
|
||||
#https://www.ogselfhosting.com/index.php/2024/03/21/enabling-2fa-for-cockpit/
|
||||
#https://webmin.com/docs/modules/webmin-configuration/#two-factor-authentication
|
||||
#https://www.digitalocean.com/community/tutorials/how-to-set-up-multi-factor-authentication-for-ssh-on-ubuntu-18-04
|
||||
|
||||
echo "Completed running $FUNCNAME"
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user