57 lines
934 B
Bash
57 lines
934 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
|
||
|
## name: sconfig.sh
|
||
|
## author: david@socialnerds.org
|
||
|
## version: 0.1
|
||
|
##
|
||
|
## decription: This is a script to help you configure
|
||
|
## various aspects of a linux server.
|
||
|
##
|
||
|
## features: manage user accounts and their keys
|
||
|
## update operating system packages
|
||
|
## install admin tools
|
||
|
## harden sshd
|
||
|
## enable ufw
|
||
|
## setup docker
|
||
|
## setup nginx & acme.sh
|
||
|
## setup duplicity
|
||
|
## setup snmpd
|
||
|
##
|
||
|
## usage: sconfig
|
||
|
|
||
|
#TODO: merge content of prep_ubuntu_server.sh in here
|
||
|
|
||
|
# **** start of script ****
|
||
|
|
||
|
## functions
|
||
|
|
||
|
get-users()
|
||
|
{
|
||
|
pass
|
||
|
}
|
||
|
|
||
|
add-user()
|
||
|
{
|
||
|
pass
|
||
|
}
|
||
|
|
||
|
dis-user()
|
||
|
{
|
||
|
pass
|
||
|
}
|
||
|
|
||
|
print-screen()
|
||
|
{
|
||
|
clear
|
||
|
echo "============================================"
|
||
|
echo " sconfig"
|
||
|
echo "============================================"
|
||
|
}
|
||
|
|
||
|
## run script
|
||
|
print-screen
|
||
|
|
||
|
exit 0
|
||
|
# **** end of script ****
|