Max2Play Home › Forums › Max2Play on Raspberry PI › SSH root login
Tagged: ssh login root login
- This topic has 8 replies, 5 voices, and was last updated 3 years, 7 months ago by
Heiner premium.
-
Posted in: Max2Play on Raspberry PI
-
6. Juni 2016 at 1:36 #20513
Da nun doch schon einige gefragt haben nach einem direkten root-Login per ssh, hier mal die Lösung
Bei Jessie ist das standardmäßig gespert.
Lösung:
> nano /etc/ssh/sshd_configHier dann nach der Zeile suchen und so ändern:
PermitRootLogin yesdann nano beenden mit „Strg+x“ und Änderung bestätigen
Jetzt funktioniert auch der direkte Login per ssh
6. Juni 2016 at 12:06 #20514Hi 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 #20857I 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 #20896Hi, 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“.
14. November 2016 at 15:19 #23905Hi 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 #47437Hi,
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 #47438Okay, „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 #47442Hi 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. -
You must be logged in to reply to this topic.