Hide wireless password
-
- White ninja
- Posts: 6
- Joined: 12 Dec 2016, 22:10
- Distribution: Porteus Desktop v3.1
- Location: England
Hide wireless password
Hi
I have managed to install the Desktop version of Porteus as I have 32 bit machines and everything is working well. Is there a way to hide or restrict the access for a guest to the wireless settings as I really do not want users to see what the wireless password is.
Thanks in advance
I have managed to install the Desktop version of Porteus as I have 32 bit machines and everything is working well. Is there a way to hide or restrict the access for a guest to the wireless settings as I really do not want users to see what the wireless password is.
Thanks in advance
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: Hide wireless password
Open a root console:
In the output you will get an encrypted password. Enter this into the file /etc/NetworkManager/system-connections/<yourconnection>
Example output:
Just replace the current line psk=XXXXXXX with the output from above.
Code: Select all
wpa_passphrase <SSID> <passphrase>
Example output:
Code: Select all
root@porteus:/home/guest/Downloads# wpa_passphrase MyWifi mywifipassword
network={
ssid="MyWifi"
#psk="mywifipassword"
psk=f31fb9167389196678f6c9b66b3f1e9f78369ef795f80b99ad06ffbbef395036
}
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
-
- White ninja
- Posts: 6
- Joined: 12 Dec 2016, 22:10
- Distribution: Porteus Desktop v3.1
- Location: England
Re: Hide wireless password
Thanks alot for your response.
I eventually got the psk as I had to add quote marks around the Wireless security key (sorry Linux noob here).
When I opened the <yourconnection> file, I could not see any reference to psk. Did add my own line with psk=<output from wpa_passphrase>, but could still see the wireless password and not the psk reference.
I eventually got the psk as I had to add quote marks around the Wireless security key (sorry Linux noob here).
When I opened the <yourconnection> file, I could not see any reference to psk. Did add my own line with psk=<output from wpa_passphrase>, but could still see the wireless password and not the psk reference.
-
- Full of knowledge
- Posts: 2104
- Joined: 17 Jun 2013, 13:17
- Distribution: Porteus 3.2.2 XFCE 32bit
- Location: Germany
Re: Hide wireless password
Hi Dagrem
Wouldn't it be enough to hide the "Show PW" checkbox?
Then users can only see the dots, but not switch to clear text.
go to /usr/share/nm-applet/, (as root), and open the ws-wpa-psk.ui File in
a Text Editor > search for "password" till you find the line:
<object class="GtkCheckButton" id="show_checkbutton_wpa">
<property name="label" translatable="yes">Sho_w password</property>
<property name="visible">True</property>
now change
<property name="visible">True</property>
to
<property name="visible">False</property>
save file,
the Show Password checkbox should no longer be visible in the wireless security settings.
You have a wpa / wpa2 secured Wlan, or?
Wouldn't it be enough to hide the "Show PW" checkbox?
Then users can only see the dots, but not switch to clear text.
go to /usr/share/nm-applet/, (as root), and open the ws-wpa-psk.ui File in
a Text Editor > search for "password" till you find the line:
<object class="GtkCheckButton" id="show_checkbutton_wpa">
<property name="label" translatable="yes">Sho_w password</property>
<property name="visible">True</property>
now change
<property name="visible">True</property>
to
<property name="visible">False</property>
save file,
the Show Password checkbox should no longer be visible in the wireless security settings.
You have a wpa / wpa2 secured Wlan, or?
-
- White ninja
- Posts: 6
- Joined: 12 Dec 2016, 22:10
- Distribution: Porteus Desktop v3.1
- Location: England
Re: Hide wireless password
Hi Donald
Thanks for your response. Unfortunately, I could not find no such folder and also searched for the file name and nothing was found
Running a WPA2 Secured WLAN.
Thanks
Thanks for your response. Unfortunately, I could not find no such folder and also searched for the file name and nothing was found

Running a WPA2 Secured WLAN.
Thanks
-
- Full of knowledge
- Posts: 2104
- Joined: 17 Jun 2013, 13:17
- Distribution: Porteus 3.2.2 XFCE 32bit
- Location: Germany
Re: Hide wireless password
oops..ok..
I use porteus 3.2.1-XFCE-32 Bit
Which version/Desktop do you use?
I use porteus 3.2.1-XFCE-32 Bit
Which version/Desktop do you use?
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: Hide wireless password
Perhaps you are setting up the network as a guest user. If this is the case then the guest user will be able to view the password. You need to log in as root and set up the network connection so it connects automatically at login. Once you are back in the guest account you should not be able to read the password.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
-
- White ninja
- Posts: 6
- Joined: 12 Dec 2016, 22:10
- Distribution: Porteus Desktop v3.1
- Location: England
Re: Hide wireless password
Set up the network under root and does not show when logged in as guest.brokenman wrote:Perhaps you are setting up the network as a guest user. If this is the case then the guest user will be able to view the password. You need to log in as root and set up the network connection so it connects automatically at login. Once you are back in the guest account you should not be able to read the password.
-
- White ninja
- Posts: 6
- Joined: 12 Dec 2016, 22:10
- Distribution: Porteus Desktop v3.1
- Location: England
Re: Hide wireless password
Trying this version now. Having trouble with opening Chrome with guest user, but researching this as we speak. Will let you know if this is successful.donald wrote:oops..ok..
I use porteus 3.2.1-XFCE-32 Bit
Which version/Desktop do you use?
Cheers
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: Hide wireless password
You should download the chrome module from our mirrors.Trying this version now. Having trouble with opening Chrome with guest user
Code: Select all
http://porteus.org/porteus-mirrors.txt
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
-
- White ninja
- Posts: 6
- Joined: 12 Dec 2016, 22:10
- Distribution: Porteus Desktop v3.1
- Location: England
Re: Hide wireless password
Thanks Brokenman, I have already downloaded Chrome and activated, but getting this error: viewtopic.php?f=125&t=3516
Having problems with opening google-chrome file.
Having problems with opening google-chrome file.