PINE64
setup root on stretch arm64 ayufan - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85)
+--- Forum: Linux on Rock64 (https://forum.pine64.org/forumdisplay.php?fid=88)
+--- Thread: setup root on stretch arm64 ayufan (/showthread.php?tid=5429)



setup root on stretch arm64 ayufan - jata - 12-07-2017

Hi all,

I'm just testing a few linux builds on my new rock64.

The ayufan all have rock64/rock64 as default user but I want to login as root. How can I do this?

Many thanks


RE: setup root on stretch arm64 ayufan - Luke - 12-07-2017

(12-07-2017, 12:11 PM)jata Wrote: Hi all,

I'm just testing a few linux builds on my new rock64.

The ayufan all have rock64/rock64 as default user but I want to login as root. How can I do this?

Many thanks

I dont think a root password is set. So if you want to login / ssh in as root you will have to set a password for root.
Otherwise you cand just sudo su


RE: setup root on stretch arm64 ayufan - jata - 12-07-2017

Thanks. yes i do want ssh as root. So how do I set a password for root?


RE: setup root on stretch arm64 ayufan - Luke - 12-07-2017

Like for any other user
Code:
sudo passwd root

First it will ask you to enter your password since you're using sudo. Then it will ask you to create a new password - that will be the password for root.


RE: setup root on stretch arm64 ayufan - jata - 12-08-2017

Thanks.