jollysolivajonathan
Posts: 23
Joined: Sun Sep 22, 2013 6:18 am

root password

Thu Oct 24, 2013 7:59 am

I would like to run debian task selector. But the root asked me for a password, i don't know the password infact i didnot configured it for password. Only on the login i set a password.

User avatar
joan
Posts: 14935
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: root password

Thu Oct 24, 2013 8:02 am

If you invoked the command from a terminal you could put sudo at the start of the command.

klricks
Posts: 7154
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: root password

Thu Oct 24, 2013 1:06 pm

The root password is not set by default but you can set the root password with this command:
sudo passwd root

Most applications can be run with sudo but some programs do ask for the root password. One example is the Aptitude package manager included in the Raspbian image. If you start Aptitude with the desktop menu link then you must use the real root password when prompted. If the root pw is not set then you can't update anything.... However if you start Aptitude from a command line with sudo then you don't need the root password:
sudo aptitude
Unless specified otherwise my response is based on the latest and fully updated RPiOS Buster w/ Desktop OS.

sendust7
Posts: 2
Joined: Thu Oct 17, 2013 6:19 pm

Re: root password

Thu Oct 24, 2013 9:03 pm

Thanks for the reminder. I did this on Ubuntu and saved a lot of "sudo" commands, lol.

Return to “Beginners”