I'm using BerryBoot as my bootloader and newest Raspbian as my OS. In order to make things more secure, I've created new root user using this tutorial: LINK and then I changed my auto login username with this thread's help: Another LINK.
When I rebooted all seemed to work just fine, I was logged as my new user. In the end, I wanted to get rid of pi user once for all so I ran sudo deluser -remove-home pi
command. It deleted the user but returned error (8 if I recall correctly) so I've checked running processes and I saw few processes running on Pi, even if it seemed that I am logged on new user on each reboot.
So I rebooted the Pi once more and after BerryBoot all I saw was a black screen. Something went wrong and I think and I am not sure at which point. Any solutions?
sudo useradd -m somename -G sudo
command to create new user and I also changed autologin in rapi-config using nano, and I also changed it in/etc/rc.local
. As I mentioned in OP the new user, his sudo privilages and autologin worked just fine, but somehow PI user was also being logged in. I'm guessing that I missed autologin somewhere else so both newaccount and Pi were being logged in after OS startup, which might caused OS failure after deleting Pi. – Radziu Dec 16 '15 at 22:30