Skip to content

Don't leak wireless password into shell history#278

Merged
SolidEva merged 1 commit intoSolidEva:masterfrom
spoelstraethan:patch-1
Jul 26, 2022
Merged

Don't leak wireless password into shell history#278
SolidEva merged 1 commit intoSolidEva:masterfrom
spoelstraethan:patch-1

Conversation

@spoelstraethan
Copy link
Copy Markdown
Contributor

No description provided.

Comment thread README.md
```
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
Copy Markdown
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.

Copy link
Copy Markdown

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?

@SolidEva SolidEva merged commit a3a3003 into SolidEva:master Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants