Hi everybody!
I would like to let SOME users connect to my ISP but NOT to ALL of them.
I am in a single machine, not in a LAN.
Tried -all as root- creating a group:
        # groupadd pppdallow
And adding some users to this group:
        # usermod -G pppdallow john
        # usermod -G pppdallow peter
so john and peter belong to "pppdallow".
Finally I changed permissions to /usr/sbin/pppd so that "ls -l
/usr/sbin/pppd"
is:
        -rwxrwx---   1 root     pppd       104812 Nov 26 11:15
and also tried with permissions:
        -rwxrwxr-x   1 root     pppd       104812 Nov 26 11:42

but john and peter still cannot connect to my ISP, and -when trying to
connect- bash's output is:
        /usr/sbin/pppd: must be root to run /usr/sbin/pppd, since
        it is not setuid-root

If I check my "/etc/group" file, I can see (please tell me if I'm wrong)
that users "john" and "peter" belong to group "pppdallow" both with root
as MEMBER and NOT MEMBER of pppdallowas follows:

        # cat /etc/group
        [...]
        slipusers:x:232:
        postgres:x:233:
        john:x:500:
        peter:x:501:
        pppdallow:x:502:john,peter,root

What am I doing wrong ? And I went to "man setuid" but I don't
understand it, sorry!
And I read "man [groupadd/mod] [usermod/add] and I guess I did what they
say.

TIA and thanx for the mailing-list (to mailing-admin) :).

--
Jos� Albores
Buenos Aires.
Argentina.

Reply via email to