Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't leak wireless password into shell history #278

Merged
merged 1 commit into from
Jul 26, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ Congratulations: you are done! Welcome to PrawnOS. You should probably change th
If have a basic environment without xfce or lxqt you can connect to WiFi using `nmtui` and it's menus to connect; or issue the following nmcli commands:
```
nmcli device wifi list
nmcli device wifi connect "Network_name" password "network_password"
nmcli --ask device wifi connect "Network_name" # The --ask will prompt you for the password so it doesn't remain in your shell history
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO the comment is superfluous (--ask is pretty self explanatory).

I'd also suggest prefacing the commit with 'README:' to make git log more readable.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nmtui-connect will show a fancy screen with wifi network selection, maybe it should be used?

```
When that finishes, you should have access to the internet.

Expand Down