Forums/zNcrypt/zNcrypt Top FAQs

How do I confirm that zncrypt is running and protecting my data?

Jeff Brossette
posted this on November 07, 2013 09:40

Question -

How do I confirm that zncrypt is running and protecting my data?

Solution -

To confirm that the zncrypt is running you can run the following command to confirm that the encrypted storage is active:

$ sudo /etc/init.d/zncrypt-mount status

You can also confirm that that the zncryptfs kernel module is loaded by running:

$ modinfo zncryptfs

You can confirm what mode zNcrypt is running in by issuing this command:

$ sudo /usr/sbin/zncrypt status -d

This will list the current running mode for zncrypt:

Enforcing (Normal mode - ACL rules being enforced)
Permissive (Mode used to assist with initial ACL rule creation).
Admin (For use with a Gazzang support Rep.)

The expected mode is "enforcing". This indicates that the ACL rules are being enforced, and only those processes have access to the encrypted data.