vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| jamiil wrote: > Hi, > I want to let non-root users have the ability to dial out, thus if the > internet connection is down any of the user can just dial it, how do I > do that? > > Thanks! > Probably the easiest way is to make a script that does the dial-in stuff and then make it setuid root, i.e. let it always execute as root. You would do this with the command chmod 4755 dialin.sh This way everybody will be able to execute the script and it will always run as root. Of course this means you'll have to be careful about what you put in the script. Cheers, Hans |
| |||
| Jamiil writes: > I want to let non-root users have the ability to dial out, thus if the > internet connection is down any of the user can just dial it, how do I do > that? Add them to the 'dip' group. If you are using Debian run pppconfig, and do Change->provider->Advanced->Add-User and follow instructions ("provider" is whatever name you gave your ISP at installation). -- John Hasler |
| ||||
| John Hasler wrote: > Hans van Zijst writes: >> Probably the easiest way is to make a script that does the dial-in stuff >> and then make it setuid root, i.e. let it always execute as root. > > You cannot make a script setuid root. Erm, you're right. Should have done a little more thinking before I posted that |