loungelover
Posts: 3
Joined: Sat Aug 04, 2012 7:27 pm

root

Sat Aug 04, 2012 7:31 pm

hi sorry if this is somewhere obvious. I tried to do some stuff as root on my pi but i realized that i don't know what the default root login is on the Debian image. I had a look around i and i cant find it can any one help?

thanks

bredman
Posts: 1415
Joined: Tue Jan 17, 2012 2:38 pm

Re: root

Sat Aug 04, 2012 8:37 pm

By default, there is no root account on Debian.

To issue a command as root, put the word sudo before the command, for example
sudo reboot

If you really need to be root for a period of time, enter the command
sudo -s
Be careful what you do while in root mode. To return to normal use the command
exit

User avatar
redhawk
Posts: 3465
Joined: Sun Mar 04, 2012 2:13 pm
Location: ::1

Re: root

Sat Aug 04, 2012 8:41 pm

To change the root default password login as pi and enter:
sudo su
passwd

or: sudo passwd

Richard S.

Return to “Beginners”