I have added a new user in Ubuntu using puppet with a hard coded uid of 10017. The uids must be the same across workstations so that when user data is restored everything lines up.
Now I find out that uid is not unique. Mysql is using it. How can I test a server to find out if a uid (10018) exists?