CentOS Bug Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002876CentOS-5shadow-utilspublic2008-06-06 08:252009-02-18 16:38
Reportersiposa 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version5.1 
Target VersionFixed in Version5.2 
Summary0002876: usermod -G plus comma gives root group
DescriptionWhen an additional comma added to the value of "G" option in "usermod" utility, then the specified user assigned to then "root" group without any warnings or error messages.
Additional Information[root@example ~]# id test1
uid=505(test1) gid=507(test1) groups=507(test1)
[root@example ~]# usermod -G p1,p2 test1
[root@example ~]# id test1
uid=505(test1) gid=507(test1) groups=507(test1),506(p2),510(p1)
[root@example ~]# usermod -G p1,p2, test1
[root@example ~]# id test1
uid=505(test1) gid=507(test1) groups=507(test1),0(root),506(p2),510(p1)
[root@example ~]# usermod -G p1,,p2 test1
[root@example ~]# id test1
uid=505(test1) gid=507(test1) groups=507(test1),0(root),506(p2),510(p1)
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0007382)
range (administrator)
2008-06-06 09:28

Thank you for finding that, I reported it upstream:

https://bugzilla.redhat.com/show_bug.cgi?id=450262 [^]
(0008736)
range (administrator)
2009-02-18 16:38

Fixed in shadow-utils-4.0.17-14.el5

- Issue History
Date Modified Username Field Change
2008-06-06 08:25 siposa New Issue
2008-06-06 09:13 range Status new => acknowledged
2008-06-06 09:28 range Note Added: 0007382
2009-02-18 16:38 range Note Added: 0008736
2009-02-18 16:38 range Status acknowledged => resolved
2009-02-18 16:38 range Fixed in Version => 5.2
2009-02-18 16:38 range Resolution open => fixed


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker