asb / raspi-config

Configuration tool for the Raspberry Pi. Now maintained at https://github.com/RPi-Distro/raspi-config
Other
263 stars 328 forks source link

raspi-config: configuring scratch login should fail if no pi user #30

Closed smithg400 closed 10 years ago

smithg400 commented 10 years ago

When using raspi-config to configure raspbian to boot directly to Scratch, a problem occurs if the pi user has been renamed or removed.

/etc/inittab is modified to auto login the pi user without checking if the pi user exists - if the user has been renamed this causes the process to respawn 'too quickly' and the user is unable to login to the console.

I suggest that raspi-config should check that the pi user exists before proceeding to modify /etc/inittab.

asb commented 10 years ago

Thanks for the report, I've fixed this and also detect this case for the 'boot to desktop' option.