cyoung / stratux

Aviation weather and traffic receiver based on RTL-SDR.
BSD 3-Clause "New" or "Revised" License
1.04k stars 358 forks source link

how to set ssh password #854

Open rudiratlos opened 2 years ago

rudiratlos commented 2 years ago

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

wa9als commented 2 years ago

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.

N129BZ commented 2 years ago

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?

wa9als commented 2 years ago

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.

rudiratlos commented 2 years ago

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

VirusPilot commented 2 years ago

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

rudiratlos commented 1 year ago

Thanx, thats it: enable "Persistent logging" reboot ssh pi@stratux.local (login with old pwd) passwd

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

ssh pi@stratux.local (login with new pwd)