Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Problem1: id reports that my root user doesn't exist because the uid is zero * This is because $uid is undef if getpwnam() fails, but this was treated the same as 0 $ id root uid=0(root) gid=0(root) groups=0(root),117(lpadmin) $ perl id root id: root: No such user * Problem2: id reports that 'root77' user exists when it does not * This is because a non-numeric parameter was passed to getpwuid() $ perl id root77 uid=0(root) gid=0(root) groups=117(lpadmin),0(root)
- Loading branch information