I haven't tried setuid for the wvdial binary. I have joined the
users to the groups "dialout" and "uucp". I have also changed the
owner of various binaries to include users, including "wvdial". I
followed someone's advice on the Inet and set pppd setuid for the group
"ppp" which I also joined all users to.
I don't want my wife to have to "sudo yada yada." I want to grant
her permissions. I have used pppconfig for years. It won't
find /dev/ttyS14, while wvdial did, uniquely among all dialup clients I
have tried. kppp didn't. I had to make the tty's with
MAKEDEV. Maybe I can use pppconfig now that I have found
out the dev file. Wvdial works well.
I would ideally like my wife to be able to click on a modem icon /
applet to dial in and to quit. I understand why in a server
environment, one would be paranoid. I WANT to grant this
permission to users at my discretion.
Thank you for the ideas, everyone. I will follow them up.
Alan Davis
On Sun, 27 Nov 2005 14:33:09 +0000
"b.n." <brullonulla@gmail.com> wrote:
> Alan E. Davis wrote:
> > I have tried alot of approaches. Wvdial is superior for detecting
> > hardware: it found my modem on ttyS14, where other approaches hadn't
> > found it.
> >
> > What I cannot seem to do is set up for my family to dial in from their
> > accounts. I have tried changing permissions of various kinds, adding
> > user to dialout, etc.
>
> suid the wvdial binary.
> m.
Don't do that! Just set the user in the correct groups per the
instructions in the ebuild!
suid is very rarely the correct answer. If it was the ebuild would do
it for you.
> --
> gentoo-user@gentoo.org mailing list
>
--
gentoo-user@gentoo.org mailing list