*BSD News Article 34821


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!quagga.ru.ac.za!ucthpx!ucthpx!not-for-mail
From: pvh@ucthpx.uct.ac.za (P van Heusden)
Newsgroups: comp.os.386bsd.questions
Subject: Re: SLIP under FreeBSD 1.0e
Date: 23 Aug 1994 14:18:45 +0200
Organization: University of Cape Town
Lines: 13
Message-ID: <33cpf5$qsu@ucthpx.uct.ac.za>
References: <339umi$l0@ucthpx.uct.ac.za>
NNTP-Posting-Host: ucthpx.uct.ac.za

Thanks to all those who helped. It turned out to be a permissions
problem. I was setting /etc/slip.login to +x for root, but sliplogin
(which is running setuid root, so can actually run the script) uses the
access() function to check if the file is executable, which checks
against the real, not the effective, uid.

Cheers,
Peter

-- 
*************************************************************************
Peter van Heusden   |   UCT ITS/TSS        |Even if lunch isn't free,
pvh@ucthpx.uct.ac.za|I don't speak for UCT |maybe we can share breakfast.