Пользователи и группы. Права доступа Flashcards

1
Q

Создать юзера vasya с домашней директорией

A

useradd -m vasya

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

Стереть юзера vasya с его домашней директорией

A

userdel –r vasya

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

Изменить пароль для юзера vasya

A

passwd vasya

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

Создать группу Programmers

A

groupadd Programmers

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

Стереть группу Programmers

A

groupdel Programmers

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

Добавить юзера vasya в группу Programmers

A

usermod –aG Programmers vasya

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

Удалить юзера vasya из группы Programmers

A

deluser vasya Programmers

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