[BusyBox 0000950]: adduser doesn't update group

bugs at busybox.net bugs at busybox.net
Thu Feb 14 18:08:52 UTC 2008


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=950 
====================================================================== 
Reported By:                espakman
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   950
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             07-15-2006 11:32 PDT
Last Modified:              02-14-2008 10:08 PST
====================================================================== 
Summary:                    adduser doesn't update group
Description: 
While updating from busybox-1.0 to 1.2  noticed that the adduser applet
doesn't update /etc/group anymore. In the source code is available to call
addgroup:
"cmd = bb_xasprintf("addgroup -g %d \"%s\"", p->pw_gid, p->pw_name);"
but apparently it doesn't work
====================================================================== 

---------------------------------------------------------------------- 
 espakman - 07-15-06 11:46  
---------------------------------------------------------------------- 
Sorry for the double report, don't know what went wrong. Please remove this
one.

Thanks,
Eric 

---------------------------------------------------------------------- 
 vda - 02-14-08 10:08  
---------------------------------------------------------------------- 
Fixed in svn sometime ago:

        /* add to group */
        /* addgroup should be responsible for dealing w/ gshadow */
        /* if using a pre-existing group, don't create one */
        if (!usegroup)
                addgroup_wrapper(&pw); 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-15-06 11:32  espakman       New Issue                                    
07-15-06 11:32  espakman       Status                   new => assigned     
07-15-06 11:32  espakman       Assigned To               => BusyBox         
07-15-06 11:46  espakman       Note Added: 0001524                          
02-14-08 10:08  vda            Status                   assigned => closed  
02-14-08 10:08  vda            Note Added: 0004754                          
======================================================================




More information about the busybox-cvs mailing list