Skip to content

Instantly share code, notes, and snippets.

@apple-corps
Created July 24, 2015 20:08
Show Gist options
  • Select an option

  • Save apple-corps/3e4e8d00b68cd51011dd to your computer and use it in GitHub Desktop.

Select an option

Save apple-corps/3e4e8d00b68cd51011dd to your computer and use it in GitHub Desktop.
ecryptfs encrypted home broken ubuntu 14.04
sudo adduser --home /home/colin --ingroup adm --encrypt-home colin
Adding user `colin' ...
Adding new user `colin' (1001) with group `adm' ...
Creating home directory `/home/colin' ...
Setting up encryption ...
************************************************************************
YOU SHOULD RECORD YOUR MOUNT PASSPHRASE AND STORE IT IN A SAFE LOCATION.
ecryptfs-unwrap-passphrase ~/.ecryptfs/wrapped-passphrase
THIS WILL BE REQUIRED IF YOU NEED TO RECOVER YOUR DATA AT A LATER TIME.
************************************************************************
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty
Done configuring.
mount: No such file or directory
ERROR: Could not mount
adduser: `/usr/bin/ecryptfs-setup-private -b -u colin' returned error code 1. Exiting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment