- As root, install the
encfsandlibpam-encfspackages. - As root, add your user account to the
fusegroup in/etc/group. Log out and back in as your regular user. - As your regular user, create the filesystem:
encfs $HOME/.enc $HOME/enc
Choose the default options and enter your password. - As root, edit
/etc/pam.d/common-authto look like this:auth sufficient pam_encfs.so
auth required pam_unix.so nullok_secure use_first_pass - As root, edit
fuse.confto look like this:user_allow_other - As root, make
/etc/security/pam_encfs.conflook like this:drop_permissions
fuse_default nonempty
<user> /path/to/.enc /path/to/enc -v allow_other
Tuesday, March 25, 2008
getting encfs set up on ubuntu or debian
Just so I don't forget later, here's how to set up an encfs directory on a Debian-like system such that the directory will be automatically mounted the first time you log in.
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment