11 hours ago
As I wrote in subject - How to prevent non-root user from changing IP address and network parameters?
It's on Ubuntu 12.04.
I followed instructions on Sitepoint's link http://www.sitepoint.com/ubuntu-12-04-lts-precise-pangolin-networking-tips-and-tricks/, in Disable the Network Manager and âhard-codeâ a static IP address section, but that does not works - end user is still capable to change network parameters.
Can you help me please how to solve my problem?
36 hours ago
What if you did
sudo chown root /etc/network/interfaces
and/or
sudo chmod 555 /etc/network/interfaces
Chmod changes the permissions, to read and execute only. that maens no one has the power to write to the file unless they sudo
chown makes the file the roots and stops other user from messing with it.
I think this will work...
Edits:
I don't know why this wont work
nano /etc/NetworkManager/NetworkManager.conf managed=false
try this to remove the manager
sudo apt-get purge network-manager