Comment 11 for bug 153310

Revision history for this message
Torsten Spindler (tspindler) wrote :

As user-setup-ask is part of the user-setup package, which is included in oem-config, where would a patch that enables creation of additional users during oem-config-firstboot best reside? As patch of the scripts included in oem-config, or directly in user-setup?

A patch could look like this for oem-config:

user-setup:
export ALLOWMULTIPLEUSERS=yes

user-setup-ask:
change
 if [ "$RET" = true ] && ! is_system_user; then
to
 if [ "$RET" = true ]; then
   if [ ! is_system_user || $ALLOWMULTIPLEUSERS ]; then

This can be combined into one line, though not sure on the bash syntax.