stratux icon indicating copy to clipboard operation
stratux copied to clipboard

how to set ssh password

Open rudiratlos opened this issue 2 years ago • 6 comments

How can I set a new password for user pi? Using the default pwd is a security problem

rudiratlos avatar Jul 01 '22 15:07 rudiratlos

Really? Google “Linux passwd” If you really want to change it, you’ll need to ssh in and use passwd to change it.

Sent from my iPhone

On Jul 1, 2022, at 11:28 AM, rudiratlos @.***> wrote:

 How can I set a new password for user pi? Using the default pwd is a security problem

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.

wa9als avatar Jul 01 '22 18:07 wa9als

Since the effective radius of a Stratux WiFi signal is around 30 or 40 FEET and any potential hacker would have to be sitting in your airplane, not really much of a security problem... plus what would someone do if they did hack into the Raspberry Pi? Fix a bug?

N129BZ avatar Jul 01 '22 19:07 N129BZ

I hope nobody think this was MY question!

Sent from my iPhone

On Jul 1, 2022, at 3:46 PM, Brian Manlove @.***> wrote:

 Since the effective radius of a Stratux WiFi signal is around 30 or 40 FEET and any potential hacker would have to be sitting in your airplane, not really much of a security problem... plus what would someone do if they did hack it? Fix a bug?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

wa9als avatar Jul 02 '22 00:07 wa9als

I did that: login as pi, set new pwd with passwd, sudo reboot. relogin: Old default pwd is active. Problem with read only fs? default pwd is a security problem: if you use stratux on your home/work lan and not in a plane. @wa9als: world is not so under complex as it seems in the first place

rudiratlos avatar Jul 03 '22 12:07 rudiratlos

You need to disable read only fs in settings: enable "Persistent logging".

VirusPilot avatar Jul 03 '22 12:07 VirusPilot

Thanx, thats it: enable "Persistent logging" reboot ssh [email protected] (login with old pwd) passwd

go to stratux-website / settings disable "Persistent logging" reboot

ssh [email protected] (login with new pwd)

rudiratlos avatar Jul 04 '22 13:07 rudiratlos