Ticket #829 (closed defect: fixed)
adduser accepts only group id's
|Reported by:||olt@…||Owned by:||macports-tickets@…|
The function adduser accepts only a numerical group id's.
Description: When a port needs a user and a group, it is not possible to add the user to the new group, because the new group id is unknown.
Solution: Add 'group' to the arguments of adduser or check if the 'gid' argument is not a number and get the group id of the named group.