Add unused UID finder script

This commit is contained in:
Anthony Wang 2021-12-16 10:33:05 -06:00
parent 789cdf5365
commit b120bb2d49
Signed by: a
GPG key ID: BC96B00AEC5F2D76

7
unusedid Executable file
View file

@ -0,0 +1,7 @@
#!/usr/bin/python3
import subprocess
s = str(subprocess.check_output(['getent', 'passwd']))
print([i for i in range(1000, 1100) if str(i) not in s])