Subject: Re: groupdel gives no error like userdel does
To: Liam J. Foy <liamfoy@sepulcrum.org>
From: Geert Hendrickx <geert.hendrickx@ua.ac.be>
List: tech-userlevel
Date: 06/14/2005 19:05:28
On Tue, Jun 14, 2005 at 05:50:26PM +0100, Liam J. Foy wrote:
> Hey,
>
> I have cooked up a quick patch. The problem is getgrnam is not called
> within a call to groupdel() (modify_gid() does not call it either, it assumes
> the group exists).
>
> I don't have a netbsd tree here right now, so try that patch and let me
> know if it works. It should do! =)
It works:
> groupdel: can't find group `foo' to delete: Undefined error: 0
But the output is still not really consistent with userdel:
> userdel: No such user `bar'
Could you change that?
Thanks for your patch already!
GH
--
:wq