How to execute udhcpc as non - origin

On a Linux equipment, I am attempting to run the udhcpc command as non - origin. I am obtaining the mistake udhcpc: socket: Operation not permitted. Exists any kind of means to execute udhcpc as a straightforward customer in Linux?

2019-12-02 03:11:39
Source Share
Answers: 1

A dhcp customer requires to bind an ICMP outlet, which calls for origin approvals ¹. You can offer a details customer permission to run dhcp via sudo. Run visudo to add a line similar to this to the arrangement (joe is the name of the customer to accredit) :

joe ALL = (root) /sbin/udhcpc

¹ Or the ideal capacity, yet they are not prevalent yet.

2019-12-03 05:04:40