Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

In previous versions of Ubuntu you could create users with encrypted partition from the "User Accounts" GUI utility. Now this option is absent from Ubuntu 11.10 (oneiric). How can you create a user with encrypted homedir in 11.10. Command line instructions acceptable! :)

share|improve this question

3 Answers 3

adduser is a perl script that takes care of the details of adding a user and will do what was removed in GNOME3

sudo adduser --encrypt-home USERNAME

If you upgrade to 11.10 from for example 11.04 then use

sudo adduser --uid OLD_UID --encrypt-home OLD_USERNAME

Make sure to use the same password as the old accounts, use ls -lan /home to find OLD_UID.

share|improve this answer
Thanks JBB. That solved my question! P.S. Is there a way to mark this as "Solved" like on –  Theodotos Andreou Dec 5 '11 at 6:30
Thanks JBB. That solved my question –  Theodotos Andreou Dec 5 '11 at 6:32
You just need to select one of the answers by clicking on the tickmark. –  sashoalm Jul 16 '12 at 13:32

I am not sure about an encrypted home partition but to add users

sudo useradd -m -p PASSWORD USERNAME


sudo adduser USERNAME

may also do the trick accoording to their manuals

share|improve this answer

The lack of graphical way to add a user with an encrypted home in Ubuntu versions using GNOME 3 is documented in bug #816669.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.