Subject: Re: pkg/37448: Cannot add groups on Mac OS X 10.5
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Adrian Portelli <adrianp@stindustries.net>
List: pkgsrc-bugs
Date: 12/01/2007 15:40:04
The following reply was made to PR pkg/37448; it has been noted by GNATS.

From: Adrian Portelli <adrianp@stindustries.net>
To: gnats-bugs@NetBSD.org
Cc: Matt Fleming <mjf@NetBSD.org>
Subject: Re: pkg/37448: Cannot add groups on Mac OS X 10.5
Date: Sat, 01 Dec 2007 15:39:03 +0000

 mjf@NetBSD.org wrote:
 >> Number:         37448
 >> Category:       pkg
 >> Synopsis:       Cannot add groups on Mac OS X 10.5
 >> Confidential:   no
 >> Severity:       non-critical
 >> Priority:       low
 >> Responsible:    pkg-manager
 >> State:          open
 >> Class:          sw-bug
 >> Submitter-Id:   net
 >> Arrival-Date:   Thu Nov 29 21:55:00 +0000 2007
 >> Originator:     Matt Fleming
 >> Release:        NetBSD -current
 >> Organization:
 >> Environment:
 >> Description:
 > Apparently the way in which you add users/groups has changed between OS X 10.4 and 10.5. For example, running pkgsrc's groupadd command,
 > 
 > bash-3.2# groupadd test
 > /Volumes/NetBSD/pkg/sbin/groupadd: line 17: nireport: command not found
 > /Volumes/NetBSD/pkg/sbin/groupadd: line 51: niload: command not found
 > groupadd: Could not create group
 > 
 > These URLs explain how to use the dscl tool:
 > http://developer.apple.com/documentation/Porting/Conceptual/PortingUnix/additionalfeatures/chapter_10_section_9.html
 > http://osxdaily.com/2007/10/29/how-to-add-a-user-from-the-os-x-command-line-works-with-leopard/
 >> How-To-Repeat:
 > 
 >> Fix:
 > 
 
 Do you have user-20071026 installed ?
 
 adrian.