I’m building a custom live/persistent Ubuntu iso.
With ecryptfs-utils
package already installed, I’m able to create new users with encrypted home directories using adduser --encrypt-home username1
.
On the first persistence run, the gnome-initial-setup
is run to configure the locale, keyboard layout, then create a new user. At this point I also want to force --encrypt-home
option, so by default the first created user is also encrypted.
Any ideas how to force such option? Patch gnome-initial-setup
itself?
1