Hide Wifi Passwords for normal user

NetworkManager - ArchWiki

Another option is to create a systemd-network configuration and preconfigure the wireless network.

systemd-networkd - ArchWiki
Network configuration/Wireless - ArchWiki

You can use the principle described in [root tip] [Utility Script] Preconfigure ARM installer for WiFi to preconfigure your wifi using wpa_passphrase command.

wpa_passphrase "<ssid>" "<passphrase>"

Be aware that hard to diagnose issues may appear if you are mixing different network managers.

1 Like