I'm new to ecryptfs and I need some clarification on how it works.
Suppose there are two root users userA and userB, If I mount some folder under userA:
[userA@Dev] $ mount ecryptfs real img
now I can visit the img folder to access decrypted data.
My questions is:
While userA is still in log in state. Can userB login and access the decrypted data? This is currently what I observed on my local machine, but I'm not sure if it was cause by my misconfiguration. If it is the case, how can I avoid other users from accessing the decrypted data while userA is in login state?