[freeside] Free Side Error

Ivan Kohler ivan at sisd.com
Sat Jul 17 04:45:34 PDT 1999


On Sat, Jul 17, 1999 at 02:18:25AM -0700, Mark Wells wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Sat, 17 Jul 1999, Ivan Kohler wrote:
> 
> > > &FS::UID::checkruid failed at
> > > /usr/local/fs-1.2.1/htdocs/edit/process/part_svc.cgi line 59 
> > > 
> > > Is there something I've missed?
> > 
> > The script is not setuid freeside,
> 
> But you said the setuid flag only affects euid, not uid.  What's failing
> here is checkruid, to which setuid doesn't apply.  This shouldn't work.

The ruid and the euid have already been swapped at this point.

> > Perhaps you should try one of the other ways of running the scripts as the
> > Freeside user?
> 
> I think that's what it would take.  Either you use Perl to set the real
> uid to the effective uid, or you run your whole web server as the Freeside
> user.

-- 
Ivan Kohler <ivan at sisd.com> - finger for PGP key - <moc.dsis at navi> Relhok Navi
Open-source billing and administration for ISPs - http://www.sisd.com/freeside
20 4,16 * * * saytime # please don't be surprised if you find me dreaming too



More information about the freeside-users mailing list