Hide "show wifi password" (don let show wifi password)
Solution 1
If founded with $ sudo gedit /usr/share/nm-applet/ce-page-wifi-security.ui
and then you edit the line 55 and change True for False and in the network maneger it will appear like that.
Solution 2
"(all users are admin)" there is your problem.
Even if you could hide it they, being admin, could always restore the settings, see the password and hide the setting again without you even knowing. What you want (hiding something from an admin) is never going to work.
The correct solution to your problem is to make those students users and elevate privileges to what you want them to do that requires then to even need admin privileges. Like installing software, updating etc. Here is an example using policyKit: How can I set the Software Center to install software for non-root users?
Marc Valsells
Updated on September 18, 2022Comments
-
Marc Valsells over 1 year
I've got to put a wifi password on my school laptops (all users are admin) but I don't want to the children see the password when you go edit conextions and edit de wifi like is see in the pictures. (I would like that you can't tick in the box Nº3, so only dots will be seen)
I would like sometihing like this that show key is like watermark so you can't see it and this screnshoot was taken in a admin acount (snox leopard osx (10.6.8) based with linux).
-
Marc Valsells almost 11 yearsThe problem is that the laptops are owners of the children and they can do everthing, I wouldlike somting like osx wich it dosn't let you tick the box. I've add a picture of osx where "show the password" is in watermark and is an admin acoutn
-
Rinzwind almost 11 yearsNot going to happen. An admin in Linux can do anything. What you want are users with special privileges: the 2 basic things that require passwords are installing software and updating a system. If you let users modify /usr or /etc they -can- always reset what you did to remove the checkbox.
-
Rinzwind almost 11 yearsAgain, and I do not like repeating myself, how does that prevent any of those users to actually read this topic and go .... hey that is how I turn it back on, view the password, and set it back again?
-
Rinzwind almost 11 years- You underestimate your user base. - Security by obscurity has never worked.