Problems installing on Rapsbperry Pi 3+: root password missing

Posted by det2 
Problems installing on Rapsbperry Pi 3+: root password missing
January 11, 2019 10:39AM
Hi there,
I fail to set up my first PirateBox on a Rapsbperry Pi 3+ following the installation-instructions on [piratebox.cc]. Everything works fine up to step 5 where the changing the password for root is required (first steps after flashing). I read in some post that changing the password for root is not possible via ssh, so I connected the Rapsbperry Pi directly to a keyboard and monitor. The result is just the same: the password for user root is not "root" as given in the instructions or it is not accepted. I can't even do a clean shutdown without being root. Any ideas?
Re: Problems installing on Rapsbperry Pi 3+: root password missing
January 11, 2019 10:56AM
Logged in as the alarm user you can do
sudo passwd

best regards
Re: Problems installing on Rapsbperry Pi 3+: root password missing
January 11, 2019 11:06AM
Matthias, thanks for the fast response!
"sudo passwd root" is exactly what I want to do following the instructions on >[piratebox.cc];:
-------------------------------------
The default password for user root is root. It is strongly recommended to change this password as well. You can do this while being logged in as alarm running this command:
sudo passwd root
-------------------------------------
But the password for root is required and "root" as a password is not accepted.
Re: Problems installing on Rapsbperry Pi 3+: root password missing
January 11, 2019 11:47AM
Wait.
The first password prompt should look like this:
$ sudo passwd root
[sudo] password for alarm:

So you need to provide the password for alarm user
Re: Problems installing on Rapsbperry Pi 3+: root password missing
January 11, 2019 06:00PM
Thanks, that solved my problem! I was able to set a new password for root now (without having to know the old one).
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically.
  *******   **     **  **     **   *******   ********  
 **     **  **     **  ***   ***  **     **  **     ** 
        **  **     **  **** ****         **  **     ** 
  *******   *********  ** *** **   *******   ********  
        **  **     **  **     **         **  **        
 **     **  **     **  **     **  **     **  **        
  *******   **     **  **     **   *******   **        
Message: