Xref: utzoo comp.bugs.4bsd:892 comp.bugs.misc:176 comp.bugs.sys5:511 Path: 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 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