adduser, addgroup

Bradley Giesbrecht brad at pixilla.com
Wed Mar 4 14:13:39 PST 2009


On Mar 4, 2009, at 1:48 PM, Scott Haneda wrote:

> On Mar 4, 2009, at 5:45 AM, Ryan Schmidt wrote:
>> On Mar 4, 2009, at 06:21, Scott Haneda wrote:
>>
>>> Hello, I am not sure how big a problem this is, but it appears,  
>>> the adduser and addgroup functions in MacPorts do not clean up  
>>> after themselves in the even of some port install error.
>>>
>>> Is this expected behavior?
>>
>> I'm not sure. What do you mean by "do not clean up after themselves"?
>
> As far as I am finding, on error, the user and group are still  
> there, I will also check of on uninstall, the user and group get  
> removed.  Though that may not be the right thing to do is files are  
> left around.

I don't recall many programs that do remove users when they are  
uninstalled. It's a good questions though.

Please share the answer when you find out.

Do you know if you can specify a uid and gid in a Portfile?

And is there an accessible var holding uid and gid? Using the port  
commands to create them that is.


//Brad




More information about the macports-users mailing list