用 adduser 就可以把使用者變成 sudoer
seen from United Kingdom

seen from United States

seen from United States
seen from Türkiye

seen from United Kingdom

seen from Italy
seen from Germany
seen from Russia
seen from China
seen from United States
seen from United Kingdom

seen from Australia
seen from China
seen from Indonesia

seen from Sweden
seen from United Kingdom
seen from Vietnam

seen from Russia

seen from Sri Lanka
seen from Spain
用 adduser 就可以把使用者變成 sudoer

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
How To Add A User To The Sudoers File In this quick video, I show how to add a user to the Sudoers file in Debian Wheezy (Linux).
*nix - User and Group management
List all users
cat /etc/passwd
Add a new user
useradd testuser
Modify testuser - adding to another group - apache
usermod -a -G apache testuser
Get a new password for testuser
passwd testuser
Add testuser to sudoer by modifying sudoers file like so:
vi /etc/sudoers
testuser ALL=(ALL) NOPASSWD: ALL
Delete user
userdel testuser
List all groups
cat /etc/group
Enumerate all groups of a user
groups testuser
This would list all the groups of logged-in user
groups
Note: If running some commands gives error - Command not found, then try
/usr/sbin/user* for user* commands
/usr/bin/groups for groups command
If that also doesn't work, find out the location of command like so:
whereis x OR which x
Update $PATH with the command path for future invocations.