Converts group and user names to corresponding gid and uid. If the groupName or userName are already a ints, simply converts them and returns.
Retrieving of user id is performed by 'id -u %s' and group id by 'getent group %s | cut -d: -f3'.
See Implementation
Converts group and user names to corresponding gid and uid. If the groupName or userName are already a ints, simply converts them and returns.
Retrieving of user id is performed by 'id -u %s' and group id by 'getent group %s | cut -d: -f3'.