Здравствуйте! При установке bumblebee на ноутбук не добавляется пользователь в группу bumblebee.
linux-a8cs:/home/ituriel # groupadd bumblebee
groupadd: Group bumblebee' already exists. linux-a8cs:/home/ituriel # usermod -a -G bumblebee ituriel usermod: неверный ключ -- «a» Try
usermod --help’ or `usermod --usage’ for more information.
Подскажите пожалуйста в чём может быть проблема? Буду весьма благодарен за любую помощь :). Только начал изучать данную систему.
Ituriel wrote:
> Try usermod --help' or
usermod --usage’ for more information.
У вас ключ неправильный. Наберите команду справки.
Или ‘man usermod’.
Я смотрел в usermod --help там всё на инглише и я боюсь напортачить может подскажете какой флаг выбрать?
Usage: usermod …
usermod - modify a user account
-c comment Set the GECOS field for the new account
-D binddn Use dn “binddn” to bind to the LDAP directory
-d homedir Home directory for the new user
-e expire Date on which the new account will be disabled
-f inactive Days after a password expires until account is disabled
-G group,… List of supplementary groups
-g gid Name/number of the users primary group
-l login Change login name.
-m Move home directory to the new path
-o Allow duplicate (non-unique) UID
-A group,… List of groups the user should be added to
-R group,… List of groups the user should be removed from
-P path Search passwd, shadow and group file in “path”
-p password Encrypted password as returned by crypt(3)
-s shell Name of the user’s login shell
-u uid Change the userid to the given number
–service srv Use nameservice ‘srv’
-L Locks the password entry for “user”
-U Try to unlock the password entry for “user”
–help Give this help list
–usage Give a short usage message
-v, --version Print program version
Valid services are: files, ldap
Проблема решена! Вместо usermod -a -G bumblebee ituriel ввёл команду usermod -А bumblebee ituriel и как итог пользователь добавлен в группу.
Ага. Очень печальная ситуация.
% rpm -ql pwdutils | grep locale
/usr/share/locale/da/LC_MESSAGES/pwdutils.mo
/usr/share/locale/de/LC_MESSAGES/pwdutils.mo
/usr/share/locale/fr/LC_MESSAGES/pwdutils.mo
/usr/share/locale/id/LC_MESSAGES/pwdutils.mo
/usr/share/locale/nl/LC_MESSAGES/pwdutils.mo
/usr/share/locale/pl/LC_MESSAGES/pwdutils.mo
/usr/share/locale/sv/LC_MESSAGES/pwdutils.mo
/usr/share/locale/vi/LC_MESSAGES/pwdutils.mo
Жаль, что никто не удосужился перевести на русский язык такие ответственные программы.
YaST -> Безопасность и пользователи -> Управление пользователями и группами
Кстати да! Тут вам не бубунта))