Docker daemon messes up iptables configuration.
>/etc/docker/daemon.json cat <<EOF
{
"iptables": false
}
EOF
Running in musl and busybox environment.
- Do not use
addgroup
/adduser
commands family. Vi is all you need to add another user or group. OK, maybe alsoopenssl
to generate password hash. - You can put comments in
passwd
,shadow
, andgroups
files! - It’s safe to delete
/etc/securetty
. I don’t know why would anyone need TTY restrictions these days anyway.
After reading dozens of shitty iptables, authbind, systemd and xinetd solutions, here is the sysctl option:
# despite the name, works for IPv6 too
sysctl net.ipv4.ip_unprivileged_port_start=0