I sense this should be a very simple question, but somehow I cannot find a solution.
I have a non-root user and I would like to grant this user enough permissions or privileges, so he can run ifconfig (I have root access to the machine).
For example:
ifconfig e1000g2 plumb
ifconfig e1000g2 inet 10.0.100.4
Right now I get this error:
ifconfig: cannot plumb e1000g2: Insufficient user authorizations
Note: I know that I should use ipadm
and I do, but I am interested to this particular problem with ifconfig
:)!