Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
"Standard" users can't use ifconfig, iwconfig, dhcpcd... etc
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
GSnake
Tux's lil' helper
Tux's lil' helper


Joined: 10 Sep 2012
Posts: 120
Location: Italy

PostPosted: Wed Sep 12, 2012 7:22 pm    Post subject: "Standard" users can't use ifconfig, iwconfig, dhc Reply with quote

As the title says a newly created user can't use these programs... how can I fix that?
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Wed Sep 12, 2012 7:34 pm    Post subject: Reply with quote

There's nothing to fix, these apps require root privileges to function. Well, mostly.

They're in /sbin or /usr/sbin and Gentoo by default doesn't have those directories in the PATH variable for normal users. If you want to use them, specify the full path to them, or change the PATH variable.
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Wed Sep 12, 2012 7:34 pm    Post subject: Re: "Standard" users can't use ifconfig, iwconfig, Reply with quote

GSnake wrote:
As the title says a newly created user can't use these programs... how can I fix that?

If you mean the user can't run it without escalated privileges, that's normal
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Thu Sep 13, 2012 1:00 am    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic.php?t=23378 howto
_________________
Defund the FCC.
Back to top
View user's profile Send private message
GSnake
Tux's lil' helper
Tux's lil' helper


Joined: 10 Sep 2012
Posts: 120
Location: Italy

PostPosted: Fri Sep 14, 2012 8:56 am    Post subject: Reply with quote

Thank you guys!
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3509

PostPosted: Fri Sep 14, 2012 1:03 pm    Post subject: Reply with quote

Just a side note... as an ordinary user, I've always been able to run "/sbin/ifconfig" to query my IP on a dhcp network.
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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