servercode/user-disabled-password.txt

26 lines
475 B
Plaintext
Raw Permalink Normal View History

# On Ubuntu/Debian:
adduser \
--system \
--shell /bin/bash \
--gecos 'boringproxy' \
--group \
--disabled-password \
--home /home/boringproxy \
boringproxy
# On Fedora/RHEL/CentOS:
groupadd --system boringproxy
adduser \
--system \
--shell /bin/bash \
--comment 'boringproxy' \
--gid boringproxy \
--home-dir /home/boringproxy \
--create-home \
boringproxy
2024-04-19 05:18:36 -05:00
2024-05-05 08:23:06 -05:00
passwd boringproxy
su - boringproxy
2024-04-19 05:18:36 -05:00
sudo usermod -a -G libvirt,kvm $USER
2024-05-05 08:23:06 -05:00