1. Information

2. Configuration

  • Enter the following commands at a Command Line with root privileges.

    apt-get update
    apt-get install git
    apt-get install rsyslog
    apt-get install sudo
    apt-get install ufw
    apt-get install vim
    
    # Optional.
    folder="/etc" && if [ ! -d "${folder}.org" ]; then command cp -a "${folder}" "${folder}.org"; fi
    
    mkdir -p /root/github
    cd /root/github
    git clone https://github.com/delta-software-labs/linux-toolbox.git
    
    cd /root/github/linux-toolbox
    ./remove-symlinks
    ./create-symlinks
    
    config-bash
    config-cron
    config-date
    config-editor
    config-rsyslog
    config-sudo
    config-ufw
    config-vim
    
    git remote --verbose
    git-incoming
    git status -s
    git pull
    
    revert-bash
    revert-cron
    revert-date
    revert-editor
    revert-rsyslog
    revert-sudo
    revert-ufw
    revert-vim

2.1. Git Credential Manager

2.2. Git

  • Enter the following commands at a Command Line with root privileges.

    apt-get install git
    
    git config --global color.color always
    git config --global core.autocrlf false
    git config --global init.defaultBranch main
    git config --global push.default simple
    git config --global user.email admin@grendelgames.com
    git config --global user.name "System Administrator"
    
    git config --list --show-origin

2.3. Users

root    no sudo required
admin   sudo <cmd> requires user password
user    sudo <cmd> requires root password
useradd --comment "${full}" --create-home --shell /bin/bash "${user}"