Ammar33
Posts: 18
Joined: Wed Jul 13, 2016 8:15 am

Root password

Thu Jul 14, 2016 12:50 pm

Hi
I am trying to install a package and it require me to sign in as root or administrator. How can I do that to be sure? and what is the password because I tried "raspbarry" as password when I type "su" command and it did not work?

Regards

User avatar
RaTTuS
Posts: 10563
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: Root password

Thu Jul 14, 2016 12:59 pm

sudo sh
will get a root account
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

mfa298
Posts: 1387
Joined: Tue Apr 22, 2014 11:18 am

Re: Root password

Fri Jul 15, 2016 10:25 am

Also

Code: Select all

sudo -i
which will give you a full root environment (sets up a root login). For single commands you can potentially also use

Code: Select all

sudo command
which will run a single command with super user privileges (replace command with the program you want to run)

Return to “Beginners”