Only root can use and connect to the internet
Uhh... so.. when I try to connect to the internet (with adsl-start),
I get a message that says that only root can run the script. So, I run the command as root, and it connects successfully. I can then start chatting at IRC (err, actually not >_<), browsing websites, ping computers etc. But when I change back to my normal user, I cannot use the internet. Any suggestions? Distro: Slackware (I found something here about using sudo, but I get an syntax error when I try to run it...) EDIT: Could post this in the "Networking"-section... But I forgot >_< |
"Uhh... so.. when I try to connect to the internet (with adsl-start),
I get a message that says that only root can run the script." This is a permissions problem, probably with the permissions for adsl-start. You can find out where adsl-start is located with: which adsl-start Then use the chmod command to give users permission to execute adsl-start. Something like: chmod 755 /pathname/adsl-start ___________________________________ Be prepared. Create a LifeBoat CD. http://users.rcn.com/srstites/LifeB....home.page.html Steve Stites |
Try changing mod to the script. Use command:
chmod +s adsl-start That will make the command be run as root every time it is started, no matter by which user it is started. In terminal it will be colored red if you ls -la the directory it is in. |
All times are GMT -5. The time now is 03:04 AM. |