🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.4bsd
Article #1108

Re: Hard Links between UNIX Utility Programs

#1108
From: Bob Lenk
Date: Wed, 27 Jul 1988 21:32
17 lines
1255 bytes
> perhaps a simple example taken from real life.  I want to prevent users from
> examining the mailq using the /usr/ucb/mailq program because I feel that
> who a user sends mail to should not be subject to disclosure to others.

This is of little use, since "/usr/lib/sendmail -bp" is equivalent to
"mailq", even without the link.  Chris Torek's solution still applies; a
setgid program that disallows undesired options (including argv[0]) can
be used as a wrapper around the real sendmail program.

The real problem seems to be mixing functions to which different
privileges might apply in the same utility.  Whether these different
functions are specified by the name of the command, by an option,
interactively, or by any other means seems to be a side issue.

		Bob Lenk
		{ihnp4, hplabs}!hpfcla!rml
		rml%hpfcla@hplabs.hp.com
Technical Details
Message-ID: <4910003@hpfcdc.HP.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!ucsd!ucsdhub!hp-sdd!hplabs!hpda!hpcuhb!hp-sde!hpfcdc!rml
References: <184@chip.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!ucsd!ucsdhub!hp-sdd!hplabs!hpda!hpcuhb!hp-sde!hpfcdc!rml
From: rml@hpfcdc.HP.COM (Bob Lenk)
Newsgroups: comp.bugs.4bsd
Subject: Re: Hard Links between UNIX Utility Programs
Message-ID: <4910003@hpfcdc.HP.COM>
Date: 27 Jul 88 21:32:47 GMT
References: <184@chip.UUCP>
Organization: HP Ft. Collins, Co.
Lines: 17