Add new user:
Check:
Good luck!
Add new group:sudo useradd ubuntu -m -s /bin/bash
# sudo addgroup adminAdd user to group:
# sudo adduser <username> <groupname>in our case:
# sudo adduser ubuntu adminMake ubuntu sudoers without password:
# sudo vi /etc/sudoersSet up
%admin ALL=NOPASSWD: ALLfor %admin group.
Check:
#sudo su ubuntu
sudo ls -ls //should not need password
Good luck!
Комментариев нет:
Отправить комментарий