View previous topic :: View next topic |
Author |
Message |
steelrose Apprentice
Joined: 06 May 2002 Posts: 245 Location: Cyprus
|
Posted: Fri Nov 15, 2002 2:49 pm Post subject: running dhcpcd (non root) |
|
|
hi .i want to run dhcpcd as non root.my ethernet drivers are built in kernel directly not as modules.how to get dhcpcd work as user? _________________ Hey.I am new to Linux and i will ask some stupid questions sometimes so please don't get angry with me and help |
|
Back to top |
|
|
mglauche Retired Dev
Joined: 25 Apr 2002 Posts: 564 Location: Germany
|
Posted: Fri Nov 15, 2002 10:55 pm Post subject: |
|
|
I think this is impossible as dhcpcd does need to change the IP adress of the computer,. and normal users usually are not allowed to do that Why do you want to run it as user ? |
|
Back to top |
|
|
psharp Tux's lil' helper
Joined: 16 Sep 2002 Posts: 76 Location: London, UK
|
Posted: Sun Nov 17, 2002 5:31 pm Post subject: |
|
|
One solution is to automate the running, I simply uncommented the dhcp section in /etc/cond.d/net
This run dhcpcd when your network comes up, for me when I plug in my pcmcia ethernet card. |
|
Back to top |
|
|
FunkyChicken n00b
Joined: 29 Sep 2002 Posts: 16 Location: Halifax, Nova Scotia, Canada
|
Posted: Wed Nov 20, 2002 12:24 pm Post subject: or install sudo |
|
|
or install sudo
and try sudo /sbin/dhcpcd eth0
and editing your sudoers file to allow that user or group of users to access that command ...
Just a thought ... |
|
Back to top |
|
|
|