jimmymac205
Posts: 1
Joined: Thu Dec 26, 2013 11:13 pm

User Pi does not exist

Thu Dec 26, 2013 11:18 pm

I recently got a pi and started making a webserver out of it. I quickly discovered that the directions I were following were broken. By that point, it was too late. Whenever I try to login as the user "pi", it will not accept any password. When I am in "root", and I try to create a new user it says that the user already exists. However, when I'm in raspi-config and I try to create a default bootup setting (ie. boot to GUI) it says that user "pi" does not exist. I've been struggling with this problem for days... Any ideas?

Nr90
Posts: 216
Joined: Sat Nov 26, 2011 12:39 pm

Re: User Pi does not exist

Fri Dec 27, 2013 12:34 am

You should be able to delele a user with

Code: Select all

userdel pi

User avatar
DougieLawson
Posts: 35761
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: User Pi does not exist

Fri Dec 27, 2013 12:59 am

Nr90 wrote:You should be able to delele a user with

Code: Select all

userdel pi
That's could be a Very Bad Idea™, unless you've created another user that has all the privileges of the pi id and/or you've set a password for root.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

User avatar
Richard-TX
Posts: 1549
Joined: Tue May 28, 2013 3:24 pm
Location: North Texas

Re: User Pi does not exist

Fri Dec 27, 2013 1:03 am

Does the pi account exist in /etc/passwd? How about /etc/shadow?
Richard
Doing Unix since 1985.
The 9-25-2013 image of Wheezy can be found at:
http://downloads.raspberrypi.org/raspbian/images/raspbian-2013-09-27/2013-09-25-wheezy-raspbian.zip

Return to “Troubleshooting”