Comment 5 for bug 1112306

Revision history for this message
Daniel Pielmeier (daniel-pielmeier) wrote :

Maybe this is because Suse has no "-a" option for usermod. AFAIK Suse uses a modified version. Just look up "usermod -h".

Standard usermod only has the -G and the -a option. "-G" defines the groups a user should belong to and removes him from all which are not specified, except "-a" is added then the specified groups are appended to the existing ones. For Suse there is no "-a" but "-A" and "-R" to add or remove groups. However "-G" behaves the same.

So "-Gsys,lp" seems wrong for Suse and should probably use "-AGsys,lp", but I have not a lot experience with Suse.