Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Done
-
PUP 4.0.0
-
None
-
Linux 2.6.32-504.3.3.el6.x86_64 x86_64 GNU/Linux
-
1
-
Client 2015-05-13
-
Bug Fix
Description
When adding a user to a group, the command usermod fails:
user.pp |
user {'root':
|
groups => ['root', 'wheel'],
|
}
|
Console output |
Error: Could not set groups on user[root]: Execution of '/usr/sbin/usermod -S root,wheel root' returned 2: /usr/sbin/usermod: invalid option -- 'S'
|