benwalton
Posts: 3
Joined: Sat Mar 17, 2012 9:35 pm
Contact: Website

Changing the default username and password? - Debian Squeeze

Sat Jun 16, 2012 3:24 pm

Hi, I am new to the Debian software and cmds, however I was hoping one of you more experienced users could help me out! I would like to change the default username from 'Pi' and its password to something a little more personal. I am aware I can change/create the root password but this is completely different.

Also if anybody could help me out, is it possible to edit the boot script to add colour to specific opening lines. for example
Username: Pi
Password: ******

Thanks guys!
"we must be the world we want to create."

ElB
Posts: 17
Joined: Fri Jun 15, 2012 4:04 pm

Re: Changing the default username and password? - Debian Squ

Sat Jun 16, 2012 3:44 pm

How to add users in Debian:
http://www.debian-administration.org/ar ... _new_users

Not sure about changing the colours of the login prompt, but you can add a bit of colour to the shell: http://www.marksanborn.net/linux/adding ... rompt-ps1/

Matt_
Posts: 2
Joined: Sat Jun 23, 2012 5:04 pm

Re: Changing the default username and password? - Debian Squ

Sat Jun 23, 2012 5:05 pm

Use passwd command, then enter your current password default "raspberry" then enter the one you want to change it to.


User avatar
meltwater
Posts: 1015
Joined: Tue Oct 18, 2011 11:38 am

Re: Changing the default username and password? - Debian Squ

Fri Jul 06, 2012 12:16 pm

bredman wrote:The instructions to create a new username are at
http://elinux.org/RPi_Beginners#Create_ ... privileges
Hi Bredman,
As another user trying to learn these things, hopefully you can clarify some bits for me.

- Does this make the new user, identical to the Pi one, or does this one have different sudo rights?

The follow up question to this is:
How would you then remove the old user account?

Finally, are there any other accounts on the default RPi which should be removed or passwords changed to ensure only you can access it?

Basically, this is something which most users should do really, particularly if they then go on to using it on their network, open ports to it etc for remote access etc.

Thanks in advance.
______________
http://www.themagpi.com/
A Magazine for Raspberry Pi Users
Read Online or Download for Free.

My new book: goo.gl/dmVtsc

Meltwater's Pi Hardware - pihardware.com

Like the MagPi? @TheMagP1 @TheMagPiTeam

User avatar
alexeames
Forum Moderator
Forum Moderator
Posts: 2876
Joined: Sat Mar 03, 2012 11:57 am
Location: UK
Contact: Website

Re: Changing the default username and password? - Debian Squ

Fri Jul 06, 2012 3:39 pm

In this blog post I cover creating a new user equivalent to Pi and removing the old Pi user.

http://raspi.tv/2012/how-to-create-a-ne ... spberry-pi

If you are using the wheezy beta, there is a root password (root) which you might want to change.
Alex Eames RasPi.TV, RasP.iO

User avatar
meltwater
Posts: 1015
Joined: Tue Oct 18, 2011 11:38 am

Re: Changing the default username and password? - Debian Squ

Fri Jul 06, 2012 8:31 pm

alexeames wrote:In this blog post I cover creating a new user equivalent to Pi and removing the old Pi user.

http://raspi.tv/2012/how-to-create-a-ne ... spberry-pi

If you are using the wheezy beta, there is a root password (root) which you might want to change.
Excellent. I shall have a close look.
Thanks.
______________
http://www.themagpi.com/
A Magazine for Raspberry Pi Users
Read Online or Download for Free.

My new book: goo.gl/dmVtsc

Meltwater's Pi Hardware - pihardware.com

Like the MagPi? @TheMagP1 @TheMagPiTeam

User avatar
meltwater
Posts: 1015
Joined: Tue Oct 18, 2011 11:38 am

Re: Changing the default username and password? - Debian Squ

Mon Jul 09, 2012 7:35 am

meltwater wrote:
alexeames wrote:In this blog post I cover creating a new user equivalent to Pi and removing the old Pi user.

http://raspi.tv/2012/how-to-create-a-ne ... spberry-pi

If you are using the wheezy beta, there is a root password (root) which you might want to change.
Excellent. I shall have a close look.
Thanks.
That seems perfect, I'll run through it a few times and try it out. Hopefully we can include this/or similar in the MagPi (with credits and formatting adjustments where required to fit the space).

Let me know if you are happy for it to be used under the Creative Commons Sharealike 3 (http://creativecommons.org/licenses/by-nc-sa/3.0/) which the MagPi uses. If not happy with that, then I can re-write it in a suitable format and link to your site as the source, if you'd prefer.

Anyway, thanks for the detailed info, I'll keep monitoring your blog.
______________
http://www.themagpi.com/
A Magazine for Raspberry Pi Users
Read Online or Download for Free.

My new book: goo.gl/dmVtsc

Meltwater's Pi Hardware - pihardware.com

Like the MagPi? @TheMagP1 @TheMagPiTeam

User avatar
alexeames
Forum Moderator
Forum Moderator
Posts: 2876
Joined: Sat Mar 03, 2012 11:57 am
Location: UK
Contact: Website

Re: Changing the default username and password? - Debian Squ

Mon Jul 09, 2012 8:29 am

meltwater wrote:
meltwater wrote:
alexeames wrote:In this blog post I cover creating a new user equivalent to Pi and removing the old Pi user.

http://raspi.tv/2012/how-to-create-a-ne ... spberry-pi

If you are using the wheezy beta, there is a root password (root) which you might want to change.
Excellent. I shall have a close look.
Thanks.
That seems perfect, I'll run through it a few times and try it out. Hopefully we can include this/or similar in the MagPi (with credits and formatting adjustments where required to fit the space).

Let me know if you are happy for it to be used under the Creative Commons Sharealike 3 (http://creativecommons.org/licenses/by-nc-sa/3.0/) which the MagPi uses. If not happy with that, then I can re-write it in a suitable format and link to your site as the source, if you'd prefer.

Anyway, thanks for the detailed info, I'll keep monitoring your blog.
I'm happy for you to do that. A link to or mention of RasPi.TV would be nice. I've thought about offering to contribute to MagPi. The only reason I haven't offered is that I'm not sure I could commit time to it regularly enough to be useful. But if you want to use that blog post, that's a good start. :D
Alex Eames RasPi.TV, RasP.iO

User avatar
meltwater
Posts: 1015
Joined: Tue Oct 18, 2011 11:38 am

Re: Changing the default username and password? - Debian Squ

Mon Jul 09, 2012 8:50 am

alexeames wrote: I'm happy for you to do that. A link to or mention of RasPi.TV would be nice. I've thought about offering to contribute to MagPi. The only reason I haven't offered is that I'm not sure I could commit time to it regularly enough to be useful. But if you want to use that blog post, that's a good start. :D
Excellent, thanks for your support. Yep, we would link the source.

All articles are welcome, either as one off's or more. Feel free to contact Ash (the editor) to discuss anything you'd like to submit.
______________
http://www.themagpi.com/
A Magazine for Raspberry Pi Users
Read Online or Download for Free.

My new book: goo.gl/dmVtsc

Meltwater's Pi Hardware - pihardware.com

Like the MagPi? @TheMagP1 @TheMagPiTeam

Return to “Beginners”