That sounds about right.  But I tried it... I created group 'dialup' then 'chown'ed
pppd as for 'dialup' and I get the same old error:

/usr/sbin/pppd: must be root to run /usr/sbin/pppd, since it is not setuid-root

So what now?  :)  Any other ideas?  How does that "sudo" utility work?

weston


Josef Wesley Wells wrote:

> So you don't have a cable modem any more.. man that has to be difficult.
>
> Debian has some really great dial up stuff.  You should create a group
> dialup, and have dialup own the various important parts like the serial
> port and pppd.  Then add anyone to dialup that will need to use the
> script.
>
> Much safer than the other methods.
>
> On Thu, 15 Jul 1999, Weston Sewell wrote:
>
> > If you insist  :)  It's been so long since I've had to use a real modem and
> > using my now 'reposessed' cable modem has fried my brain.  I set up two scripts
> > 'utup' and 'utdown', simple bash scripts.
> >
> > utup:
> > #!/bin/bash
> > pppd connect "chat -f /etc/ut.chat" .  .  .
> >
> > utdown:
> > #!/bin/bash
> > killall pppd
> >
> > I'm quite sure there's a better way to kill the connection but I can't remembr
> > how and this works.  At any rate, none of my users can use these scripts
> > because they don't have access to pppd.  I 'chown'ed the scripts so they run
> > fine, but I get an error about only root being able to use pppd.  This seems to
> > be a common theme in many of my scripting woes; I want to write a script that
> > controls something, and I want to give my users access to ONLY execution of the
> > script and have it do something useful.  How is this done in general?
> >
> > weston
> >
> > "Joshua W. Scott" wrote:
> >
> > > OK, so here's the deal: I'm trying to set up netcat to serve up a file,
> > > let's call it "core", when someone connects to a port, let's say 23.
> > > The only problem I'm having is getting nc to hang up automatically after
> > > cat-ing the file to the remote host. Any ideas?
> > > OK,I've asked my quota of questions...it's time for someone to ask about
> > > setting up Telesys again.,.;)
> > > jws
> > >
> > > --
> > > Joshua W. Scott                 Center for Nonlinear Dynamics
> > > Sys Admin / Doorman                          (512) 471 - 6933
> > > RLM 14.216                                   (512) 323 - 5525
> > >
> > > ---------------------------------------------------------------------------
> > > Send administrative requests to [EMAIL PROTECTED]
> >
> > ---------------------------------------------------------------------------
> > Send administrative requests to [EMAIL PROTECTED]
> >
>
> ---------------------------------------------------------------------------
> Send administrative requests to [EMAIL PROTECTED]

--
T. Weston Sewell
[EMAIL PROTECTED]


---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]

Reply via email to