def METHOD_NAME(self, group, item, target):
    if item in self.groupmod_p:
        cmd = [] + self.groupmod
        if self.sysname == "FreeBSD":
            cmd += [group]
        cmd += self.fmt_opt(self.groupmod_p[item], str(target))
        if self.sysname != "FreeBSD":
            cmd += [group]
        pinfo("group:", ' '.join(cmd))
        p = Popen(cmd)
        out, err = p.communicate()
        r = p.returncode
        if r == 0:
            return RET_OK
        else:
            return RET_ERR
    else:
        perror('group: no fix implemented for', item)
        return RET_ERR