Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] root has internet access, user not
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
rncwnd
n00b
n00b


Joined: 13 Jun 2003
Posts: 69
Location: Germany

PostPosted: Thu Sep 15, 2005 10:51 am    Post subject: [SOLVED] root has internet access, user not Reply with quote

Hi,

following problem:

root has internet access. everywhere: x and console (if this is important).
a normal user has no internet access. nowhere.

did i oversee something?


andy


Last edited by rncwnd on Thu Sep 15, 2005 3:16 pm; edited 1 time in total
Back to top
View user's profile Send private message
alphonce
Apprentice
Apprentice


Joined: 10 Oct 2004
Posts: 184
Location: Sweden

PostPosted: Thu Sep 15, 2005 12:28 pm    Post subject: Reply with quote

enter as user
Code:
groups

maby you're missing some groups:
mine are:
Quote:
adm wheel floppy audio cdrom dialout tape games cdrw users plugdev

add with:
Quote:
gpasswd -a <user> <group>

_________________
no computer at the moment! :cry:
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Thu Sep 15, 2005 1:30 pm    Post subject: Reply with quote

Ensure that normal users can read /etc/resolv.conf
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
rncwnd
n00b
n00b


Joined: 13 Jun 2003
Posts: 69
Location: Germany

PostPosted: Thu Sep 15, 2005 3:20 pm    Post subject: Reply with quote

thanx guys.

here the solution:
i don't know why, but /etc/resolv.conf was a symlink to /etc/ppp/resolv.conf.
both, the link and the targetfile were world-readable but name-resolution didn't work.
Code:
rm /etc/resolv.conf
mv /etc/ppp/resolv.conf /etc

did the trick.
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