"David S. Jackson" wrote: > > Hi, > > I've added myself to the dialout group, but I still get a "permission > denied" when I try to run /usr/bin/pon (which works fine when I'm > root, btw). What am I forgetting? I want to be able to run this as > a user. > > Also, could someone explain why /usr/sbin/pppd is in the dip group > and not the dialout group? > > Basically, I'm trying to use pon with TkDesk, but first I need to > make sure it works just with plain old userland me. :-) > > TIA!
You need to add yourself to the dip group, not the dialout group. The dip group is for those who dialout using pon / pppd. The dialout group is for those who need full access to the raw serial port. And yes, the group naming convention certainly does suck. How it works : If you are in group dip, you have read and execute permission to the /usr/sbin/pppd script, so you can run it. Since the program is setuid-root, it runs with root's priviledges. This allows it to grap the serial port, at which point it drops the priviledges. HTH. -- Regards, Paul