Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just booted my Raspberry Pi, and created a new user, nacht.

Currently upon boot, I get a prompt logged in as pi but I want to be logged in as nacht. How do I change this setting?

Or should I simply rename the pi user?

My OS is Raspian.

share|improve this question
Renaming 'pi' should be fine if you don't have any better idea. – gronostaj Sep 21 '13 at 10:07
Yeah I may do that... would still like an answer to my question about booting though... – Nacht Sep 21 '13 at 10:10
perhaps it simply boots to whoever has uid=1000? – Nacht Sep 21 '13 at 10:12
Please post the output of sudo grep '/bin/login' /etc/inittab (if it outputs anything) – gronostaj Sep 21 '13 at 12:25
I've actually fixed this via raspi-config but would still like to know how to do it on a regular linux machine. sudo grep '/bin/login' /etc/inittab gives nothing, but as i've said, i've fixed this now. it appears my machine uses getty instead? – Nacht Sep 25 '13 at 8:02
up vote 2 down vote accepted

open up the file:

sudo vim /etc/lightdm/lightdm.conf

Change the following line to your username:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.