"pon dsl-provider" as a regular user?

Donatas G. dgvirtual at akl.lt
Sat Jul 8 11:07:32 UTC 2006


2006 m. liepa 8 d., šeštadienis 04:56, Daniel Pittman rašė:
> Marcus <lists at wordit.com> writes:
> > Friday, July 7, 2006, 1:21:51 PM, you wrote:
> > Daniel> Specifically, my suggestion would be to write a brief, secure,
> > shell Daniel> script that does the poff and pon or whatever.  Make sure
> > it resets the Daniel> PATH, etc, to avoid security risks.
> >
> > Could anybody provide an example of a secure script?
> >
> > (I'm guessing "sudo pon dsl-provider" is not sufficient.)
>
> Actually, if you don't mind her being able to connect and disconnect
> *any* PPP session[1] just list 'pon' and 'poff' as commands in sudoers.
>
> Alternately, yes, 'pon dsl-provider' as a command should be fine.
> I didn't think through the risk model enough, I think, last night.

Hey guys, thank you for suggestions. I did not realize the sudo system is that 
flexible. 

-- 
Donatas Glodenis
http://dg.lapas.info




More information about the kubuntu-users mailing list