Как это можно сделать из консоли? Удивительным образом usermod не содержит флаг -R
Mandriva 2011
удаление пользователя из группы
Модератор: Bizdelnick
- drBatty
- Сообщения: 8735
- Статус: GPG ID: 4DFBD1D6 дом горит, козёл не видит...
- ОС: Slackware-current
- Контактная информация:
Re: удаление пользователя из группы
kryuch
у соника я забанен, потому не в курсе, что там насоветовали. Я этот вопрос решаю так:
у соника я забанен, потому не в курсе, что там насоветовали. Я этот вопрос решаю так:
-G, --groups GROUP1[,GROUP2,...[,GROUPN]]]
A list of supplementary groups which the user is also a member of. Each group is separated from the
next by a comma, with no intervening whitespace. The groups are subject to the same restrictions as
the group given with the -g option.
If the user is currently a member of a group which is not listed, the user will be removed from the
group. This behaviour can be changed via the -a option, which appends the user to the current
supplementary group list.