initial script and config files

This commit is contained in:
Peter Bochmann 2024-06-03 17:39:25 +02:00
parent a5b0a14338
commit 30ea697755
Signed by: peter.bochmann
GPG Key ID: 94E8C523489B8AC1
4 changed files with 25 additions and 0 deletions

View File

@ -1,3 +1,11 @@
# Config Helper Script # Config Helper Script
This is a set of scripts and config files to make some basic settings for ggs user on a fresh Ubuntu install This is a set of scripts and config files to make some basic settings for ggs user on a fresh Ubuntu install
## Usage
curl is required to download the initial customization script. Start with curl installation:
`sudo apt update && sudo apt install curl -y`
The user ggs should already exist and have sudo permission. Otherwise create the account first and add him to sudo group. Then login as ggs. After login you may download end execute the customization script by running:
`curl -s https://git.ggs-solutions.eu/GGS/UbuntuConfig/raw/branch/main/mim.sh |/bin/bash`

2
conf/etc/sudoers.d/ggs Normal file
View File

@ -0,0 +1,2 @@
# NOPASSWORD sudo for user ggs
ggs ALL=(ALL) NOPASSWD:ALL

View File

@ -0,0 +1,2 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEZOTXe5RyPn0pkaGZQWj3YYeP/K6Q9CvDdfmOTswxNj eddsa-key-20230810_PeBo
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM6ipiN1yOx9jOhpKJWmsxu59jiBl33S8h7BSk59N88z eddsa-key-20230828_Noah

13
mim.sh Normal file
View File

@ -0,0 +1,13 @@
#!/bin/bash
cd ~
echo "Installing required software packages..."
sudo apt update
sudo apt install git vim
echo "Download user config files
git clone https://git.ggs-solutions.eu/GGS/UbuntuConfig.git
echo "Configure ggs user account..."