🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Hard Links between UNIX Utility Programs

#1119
From: id for use with uunet/usenet
Date: Wed, 03 Aug 1988 13:42
24 lines
1095 bytes
Another workable solution is to do the following steps:

	1.	Move the programs you want to restrict to a directory
		readable only by the super user.

	2.	Create a shell script for each type of call for each program

	3.	Make the shell script executable by everyone.

	4.	Make the owner of the shell script the super user

	5.	Set the user bit for the shell script (chmod u+s name)


Now no matter how someone calls the shell script the program will still
be called using the correct name.


Jonathan Bayer
Intelligent Software Products, inc.
19 Virginia Ave.
Rockville Centre, NY   11570
uunet!ispi!jbayer
Technical Details
Message-ID: <153@ispi.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!ispi!jbayer
References: <184@chip.UUCP> <185@chip.UUCP> <218@tarkus.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!ispi!jbayer
From: jbayer@ispi.UUCP (id for use with uunet/usenet)
Newsgroups: comp.bugs.4bsd,comp.bugs.misc,comp.bugs.sys5
Subject: Re: Hard Links between UNIX Utility Programs
Summary: A workable solution
Keywords: unix links bsd sysv sys5
Message-ID: <153@ispi.UUCP>
Date: 3 Aug 88 13:42:59 GMT
References: <184@chip.UUCP> <185@chip.UUCP> <218@tarkus.UUCP>
Organization: Intelligent Software Products, Inc.
Lines: 24