Common function to get user group info
chroot implementation
Remove chroot from todo list