docs: function getUserGroups(user) {
    try {
      const output = runProgram('groups', [user]).trim();
      const groupsText = isBusyboxCommand('groups') ? output : output.split(':')[1].trim();
      return groupsText.split(/\s+/);
    } catch (e) {
      throw new Error(`Cannot resolve user ${user}`);
    }
  }