idmapper is a package which will map a process to the highest user id available.
It was created to be used by GrootFS, a root filesystem manager for CloudFoundry’s container runtime.
Unlike the newuidmap and newgidmap commands found in Shadow, idmapper does not require this user to exist and will not check /etc/subuid for valid subuid ranges.
Will map the given process to the maximum user id available
$ newuidmap <process id>
$ newgidmap <process id>
Will return the maximum user id available.
# => 4294967294
This can be used by importing: