curl wget tree htop gnupg openssh-server \
fzf silversearcher-ag ripgrep exa \
python3-pip opam golang
Add regular user:
adduser <username>
Make sudo
:
usermod -aG sudo <username>
Add system user:
adduser --system --no-create-home --shell /bin/false --group --disabled-login <username>
To set editor
to point to vim
:
sudo update-alternatives --set editor /usr/bin/vim.basic
Edit:
/etc/ssh/sshd_config
Set:
PermitRootLogin no
Using systemd
:
sudo systemctl set-default multi-user.target
Alternative, configure GRUB, writing to /etc/default/grub
:
#GRUB_CMDLINE_LINUX_DEFAULT=<whatever>
GRUB_CMDLINE_LINUX="text"
GRUB_TERMINAL=console