Debian
Page content
Patch OpenSSH Only
apt install --only-upgrade openssh-client openssh-server openssh-sftp-server
Time Zone
timedatectl set-timezone Europe/Zurich
-> set symlink: /etc/localtime -> ../usr/share/zoneinfo/Europe/Zurich
Fix Sudo Stuff
use ‘sudo -i’ and keep SSH_AUTH_SOCK if set
apt update
apt install sudo
usermod -aG sudo stoege
echo "Defaults env_keep+=SSH_AUTH_SOCK" > /etc/sudoers.d/ssh_auth_sock
echo "%sudo ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/group_sudo_nopass
Any Comments ?
sha256: 7e5018c28bea4357e2f6703ec2876e92798e020801a61e46d6e3698151bc5a38