Is it possible to add a second /etc/passwd + /etc/shadow + /etc/group combination like this to a linux system?
/etc/passwd
/etc/passwd2
/etc/shadow
/etc/shadow2
/etc/group
/etc/group2
During authentication process PAM should use all of this files.
Background is a chrooted application that should add/delete main system users and groups via union rw-mounts. But if possible I don't want to merge this two worlds in the main passwd.