SSH root login

This topic contains 8 replies, has 5 voices, and was last updated by  Heiner Moderator 1 year ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • 6. Juni 2016 at 12:06 #20514

    Hi Martin,
    Thanks for the tip! For temporary use, you can also log in with the user pi and the pw raspberry and then enter su to be able to enter the root-password max2play.

    27. Juni 2016 at 3:29 #20857

    I am not able to login as root to the raspberry pi 2 b via ssh using the password „max2play“

    I am able to log in to the odroid XU4 via ssh as root with the password „max2play“

    Is there step I am missing with the raspberry pi?

    27. Juni 2016 at 13:35 #20896

    Hi, we have removed the default root login. However, you can still navigate through SSH with root privileges by logging in as user: pi pw: raspberry and typing „su“, the same pw for root applies „max2play“.

    11. November 2016 at 23:11 #23887

    Is it ok to change the su as well as user password?

    14. November 2016 at 15:19 #23905

    Hi guw,
    You can of course do with your device and its sd card what you like. However, we do not recommend changing root password or the user.

    25. Oktober 2019 at 16:27 #47437

    Hi,

    I SSH to the Pi and login with User pi and PW max2play.

    When I issue the „su“ command and enter PW max2play again I get: „su: Authentication failure“.

    Any idea? I have a PI 4 and am running the m2p_buster_rpi-v250.img.zip

    Thanks for any help!
    P.

    P.S. I need root privileges because I wish to edit /etc/wpa_supplicant/wpa_supplicant.conf in order to troubleshoot the PI not connectin to Wifi with hidden SSID.

    25. Oktober 2019 at 16:34 #47438

    Okay, „sudo“ before the command works without asking for password (?!).
    So my problem is solved, but root PW is changed for max2play PI 4 ..?

    Best,
    P.

    28. Oktober 2019 at 16:47 #47442

    Hi philou,

    You should need an additional PW to get to su. This has changed a while back for security reasons. Just enter sudo su when you are logged in as user pi.

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.

Register here