apt install sudo adduser vlp sudo
lance une commande pour le user: user
sudo -u user -g group -i ls /home/vlp/command
lance un shell pour le user: user
sudo -u user -g group -s
Error message 'sudo: unable to resolve host <USER>
'
The /etc/hostname file contains just the name of the machine.
/etc/hosts has an entry for localhost. It should have something like:
127.0.0.1 localhost.localdomain localhost 127.0.1.1 my-machine
sudo visudo
ajouter:
vlp ALL=(ALL) NOPASSWD: /sbin/wireless.sh