Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
running dhcpcd (non root)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
steelrose
Apprentice
Apprentice


Joined: 06 May 2002
Posts: 245
Location: Cyprus

PostPosted: Fri Nov 15, 2002 2:49 pm    Post subject: running dhcpcd (non root) Reply with quote

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
View user's profile Send private message
mglauche
Retired Dev
Retired Dev


Joined: 25 Apr 2002
Posts: 564
Location: Germany

PostPosted: Fri Nov 15, 2002 10:55 pm    Post subject: Reply with quote

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 :P Why do you want to run it as user ?
Back to top
View user's profile Send private message
psharp
Tux's lil' helper
Tux's lil' helper


Joined: 16 Sep 2002
Posts: 76
Location: London, UK

PostPosted: Sun Nov 17, 2002 5:31 pm    Post subject: Reply with quote

One solution is to automate the running, I simply uncommented the dhcp section in /etc/cond.d/net

Code:
iface_eth0="dhcp"


This run dhcpcd when your network comes up, for me when I plug in my pcmcia ethernet card.
Back to top
View user's profile Send private message
FunkyChicken
n00b
n00b


Joined: 29 Sep 2002
Posts: 16
Location: Halifax, Nova Scotia, Canada

PostPosted: Wed Nov 20, 2002 12:24 pm    Post subject: or install sudo Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum