Uid and Gid Flashcards

Learn how to create new users and groups

1
Q

What is the command used to create new user

A

adduser

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How do you give sudo privileges to a user

A

Find the group of user by running
Id vivechan
Modify user
usermod -aG sudo vivechangroup

How well did you know this?
1
Not at all
2
3
4
5
Perfectly