Date: Sun, 15 Feb 1998 23:46:27 -0500 From: "Brian Haskin" <haskin@ptway.com> To: "Obi Wan Oblivion" <vdk@chaosphere.com>, <hackers@FreeBSD.ORG> Subject: Re: IIJPPP & The Root User Message-ID: <002a01bd3a95$d9259960$0b00000a@brianjr.haskin.org>
next in thread | raw e-mail | index | archive | help
-----Original Message-----
From: Obi Wan Oblivion <vdk@chaosphere.com>
To: hackers@FreeBSD.ORG <hackers@FreeBSD.ORG>
Date: Sunday, February 15, 1998 11:22 PM
Subject: IIJPPP & The Root User
>Howdy,
>
>Any reason why I shouldn't modify IIJPPP Version 1.2 (built on 9/23/97) to
>allow uids other than zero to dialout?
>
>I share my physical system with a few people who want access to the net,
>but I really don't want to dish out the root password to them. I'm
>looking to keep the security, but add some flexibility. For instance:
>
> < if(getuid() != 0)
>
> > if((getuid() != 0) || (getgid() != 68))
>
[snip]
this should be something like this,
if((getuid() !=0) && (getgid() != 68))
to get the desired effect.
But why not just set it up in auto dial mode. (see the man page)
Brian Haskin
p.s. I don't know anything about the security implications of the change to
the above source.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002a01bd3a95$d9259960$0b00000a>
