[Bug 1699216] Re: Encrypted home support

Robert Ancell robert.ancell at canonical.com
Thu Dec 21 21:23:33 UTC 2017


Hi Jememy. Nice work on the patches!

I've been working with the AccountsService upstream and I'd like to work
out how we can get these patches in.

I think we can make this work with a couple of changes:
- Instead of making the CreateUserEncrypt() method you could make a new account type ACCOUNT_TYPE_ENCRYPTED (src/user.h). Since upstream can't currently support this though 'useradd' it should then fail the call when this account type is encrypted.
- We then can carry the change in Debian/Ubuntu by modifying debian/patches/0002-create-and-manage-groups-like-on-a-debian-system.patch (I'm working on merging in 0006-adduser_instead_of_useradd.patch which should be in the same patch).

Please open a bug on bugzilla.freedesktop.org with the patch and I will
help review there.

I'm also working on how we can get our adduser changes upstream so we
don't have to carry this patch either
(https://bugs.freedesktop.org/show_bug.cgi?id=73838)

I've pinged upstream but I think everyone is on break now (and I will be
for the next two weeks too) but will pick this up when I'm back.

** Bug watch added: freedesktop.org Bugzilla #73838
   https://bugs.freedesktop.org/show_bug.cgi?id=73838

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1699216

Title:
  Encrypted home support

Status in accountsservice package in Ubuntu:
  Confirmed
Status in gnome-control-center package in Ubuntu:
  Confirmed
Status in gnome-initial-setup package in Ubuntu:
  Confirmed

Bug description:
  In the CreateUser D-bus call, allow the home directory of the new user
  to be encrypted.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1699216/+subscriptions



More information about the Ubuntu-sponsors mailing list