...
Code Block |
---|
apt update
os-upgrade
reboot |
2. Cоздаем юзера ztest:
Code Block |
---|
root@dilos:~# useradd -m -d /var/ztest -g staff -s /bin/bash ztest root@dilos:~# passwd ztest Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully root@dilos:~# echo "ztest ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers.d/ztest |
...