14 Commits

Author SHA1 Message Date
Michael Terry
538192d3f4 Make a variable because Saviq likes variables 2016-02-01 11:03:20 -05:00
Michael Terry
39eb02ea86 Use Ubuntu as phablet user's real name 2016-02-01 10:57:32 -05:00
Oliver Grawert
6813f1c965 add empty "extrausers" equivalents for subuid and subgid files, else adduser falls over in interactive mode when trying to write to them 2015-09-09 13:30:45 +02:00
Stéphane Graber
9caf7cafdd * Add two new hooks for Ubuntu Touch to setup sensible /etc/passwd,
/etc/shadow, /etc/group and /etc/gshadow PRIOR to package installation
  to guarantee user/group ordering on the image and then to check for any
  unexpected change to those files. (LP: #1332538)
  Any change to either the initial set of users and groups or to the
  post-package-install set will now be fatal to the image and will require
  a manual update of the hardcoded user/group list contained in this new
  chroot_early hook.
* Bump dependency on live-build accordingly.
* Update the setup_user hook to also take care of gshadow.
2014-09-24 10:58:50 +01:00
Michael Terry
f233caeab8 * live-build/ubuntu-touch/hooks/01-setup_user.chroot:
- Don't modify PAM files directly, we'll let ubuntu-touch-session
    do that for us the proper way.  (LP: #1348637)
2014-08-13 17:20:41 -04:00
Michael Terry
a1e5f63805 Enable libnss-extrausers 2014-07-18 15:28:44 -04:00
Michael Terry
422787d8ff and allow minimum length of 4 2014-07-08 10:21:58 -04:00
Michael Terry
28f16fd7d6 Allow weak passwords 2014-07-08 09:36:10 -04:00
Michael Terry
6821cae1d7 Set password to blank rather than the arbitrary 'phablet' 2014-07-03 15:33:55 -04:00
Michael Terry
131add046d Add user to nopasswdlogin group too 2013-08-12 19:29:45 -04:00
Michael Terry
59117feb80 Switch min uid to 1002 2013-08-12 15:46:43 -04:00
Michael Terry
e6cd959f4c Mark the 'system' uid 1000 user as a system user, to avoid it showing up in the greeter 2013-08-12 15:42:36 -04:00
Oliver Grawert
912941411b add radio user (with UID 1001 (required by android)) to the default user creation for ubuntu-touch 2013-07-25 11:16:46 +02:00
Colin Watson
95246a6553 live-build/auto/config, live-build/ubuntu-touch: Copy a huge pile of
customisation by Ricardo Salveti from
lp:~phablet-team/touch-preview-images/ubuntu-build-phablet, which should
be close to enough for the architecture-independent parts of
ubuntu-touch builds.
2013-05-01 12:01:21 -07:00