Hello,
I am developing a java application that need change: ip, gateway, default route ....
But this app don't have a root permission, execute it with daemon user.
How I do the app can edit the files: /etc/sysconfig/network-scripts/ifcfg-eth0 and /etc/sysconfig/network ?
Thanks!
Can't change network scripts as noroot user?
-
- Posts: 1521
- Joined: 2014/05/21 20:16:00
- Location: Central New York, USA
Re: Can't change network scripts as noroot user?
A java app. changing System files - isn't that Windows that allows that? That's one of the many reasons folk switch to Linux.