🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #7036

Re: inews dynamically linked?

#7036
From: Christopher Davis
Date: Mon, 29 Apr 1996 00:00
14 lines
1289 bytes
GA> == Greg Andrews <gerg@netcom.com>

 GA> Could a user set their LD_LIBRARY_PATH and circumvent the normal
 GA> getuid/geteuid/getpwuid identification mechanism?  I'm going to link
 GA> my inews with -Bstatic just to be sure, but I wanted to get the
 GA> opinions of folks who have more experience with this sort of thing.

Depends on the OS, obviously.  If inews is installed suid or sgid, then
most OSes will not honor the LD_ variables when loading it (actually I
don't know of any that would); if it isn't suid or sgid, then users can
just compile their own copy without the checks anyway.

Technical Details
Message-ID: <w4n33vc01s.fsf@loiosh.kei.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <gergDqK7zL.BqB@netcom.com>

Show Full Headers
Complete Article Headers
Message-ID: <w4n33vc01s.fsf@loiosh.kei.com>
Subject: Re: inews dynamically linked?
Date: Mon, 29 Apr 1996 00:00:00 +0000
From: ckd@loiosh.kei.com (Christopher Davis)
References: <gergDqK7zL.BqB@netcom.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 151958516
Sender: ckd@loiosh.kei.com
Content-type: text/plain; charset=US-ASCII
Organization: Mirabile Wildlife Agency
X-attribution: ckd
Mime-version: 1.0 (generated by tm-edit 7.52)
Newsgroups: news.software.nntp