Add the pi desktop oem user to the adm and sudo groups

ubuntu/groovy
Łukasz 'sil2100' Zemczak 4 years ago
parent 81eba8db72
commit f4f4fec5dc

7
debian/changelog vendored

@ -1,3 +1,10 @@
livecd-rootfs (2.694) UNRELEASED; urgency=medium
* Add the pi desktop oem user to the adm and sudo groups, as that is needed
for wifi configuration.
-- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Tue, 20 Oct 2020 17:25:35 +0200
livecd-rootfs (2.693) groovy; urgency=medium livecd-rootfs (2.693) groovy; urgency=medium
* Build classic raspi server images by default from the 'classic' branch now. * Build classic raspi server images by default from the 'classic' branch now.

@ -12,7 +12,7 @@ if [ "$IMAGEFORMAT" == "none" ]; then
chown syslog:adm /var/log/syslog chown syslog:adm /var/log/syslog
# Create the oem user account # Create the oem user account
/usr/sbin/useradd -d /home/oem -m -N -u 29999 oem /usr/sbin/useradd -d /home/oem -G adm,sudo -m -N -u 29999 oem
/usr/sbin/oem-config-prepare --quiet /usr/sbin/oem-config-prepare --quiet
touch "/var/lib/oem-config/run" touch "/var/lib/oem-config/run"

Loading…
Cancel
Save