aru Posted May 13, 2004 Report Share Posted May 13, 2004 A couple of things: First, the best way to do this, as well as the classical, is not sudo nor setuid, but just use the GROUP feature! (Is always forgotten). Just add your user to the internet group, adsl group, or whatever name you want to give it, change the group ownership of the files involved to that group and give group exec permissions for the binary ones, that's all. Second. The 'path thing' It is important. And it is cracker proof! Anyone can crack a unix computer if the root's $PATH is bad configured (I'm talking about the famous 'current directory' thing). Third, and final. I'll spend less time here (as some of you might have noticed). I hope I'll solve all the problems here (work, and other stuff) and soon I'll be back. See you till then ;) Quote Link to comment Share on other sites More sharing options...
Havin_it Posted May 14, 2004 Author Report Share Posted May 14, 2004 Well, this is just ticking me off now. I've chmodded everything, and it still won't work. It seems the command /usr/sbin/pppd call adsl is still the problem. It's doing something, it returns without output, but when I do ifconfig there's still no sign of ppp0. I do it as root and there's no problem! pppd must be using something else that doesn't have permission set for me, but I wouldn't have a clue what that could be. I dunno, maybe I'll just stick with doing it as root. All this carry-on hardly seems worth it. Quote Link to comment Share on other sites More sharing options...
Gowator Posted May 14, 2004 Report Share Posted May 14, 2004 have you tried sh -x </usr/sbin/pppd call adsl> ??? then you can SEE what its doing..... Quote Link to comment Share on other sites More sharing options...
Havin_it Posted May 17, 2004 Author Report Share Posted May 17, 2004 Mmm, apparently that's not a goer because pppd is a binary... <despair> Quote Link to comment Share on other sites More sharing options...
Havin_it Posted February 27, 2005 Author Report Share Posted February 27, 2005 Hey, I finally found an easy-peasy way to do this. Actually it's based on phunni's first reply, more or less. 1- Put script somewhere other than Desktop, chmod +x it. 2- Make Application shortcut on Desktop pointing to script. 3- In shortcut Properties, select 'Run in Terminal' and 'run as another user' [root]. 4- And of course choose a funky icon for the shortcut ;) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.