Article View: comp.bugs.4bsd
Article #1091Re: Hard Links between UNIX Utility Programs
From: Chris Torek
Date: Wed, 27 Jul 1988 03:13
Date: Wed, 27 Jul 1988 03:13
20 lines
1465 bytes
1465 bytes
It is not broken; please do not `fix' it. If the goal is to prevent programs from running with arbitrary arguments (including argv[0]), then do that (via the available protection mechanisms, such as groups). For instance, if students should not be allowed remote access to arbitrary hosts: % ls -lg /usr/ucb/rsh /usr/ucb/rlogin -rwsr-x--- 1 root ins 30720 Mar 15 11:31 /usr/ucb/rlogin -rwsr-x--- 1 root ins 28672 Sep 2 1987 /usr/ucb/rsh % ls -lg local_host -rwxr-sr-x 1 bin ins <size> <date, time> local_host % ls -l local_host remote_host lrwxrwxrwx 1 bin 12 Jun 11 04:13 remote_host -> /usr/ucb/rsh where `local_host' is a link to a program that makes sure the arguments are to be allowed to students, then runs /usr/ucb/rsh, and where `ins' is a group that excludes students. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163) Domain: chris@mimsy.umd.edu Path: uunet!mimsy!chris
Technical Details
Message-ID:
<12686@mimsy.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!ames!ncar!oddjob!mimsy!chrisReferences:
<184@chip.UUCP> <2950@ci.sei.cmu.edu> <27498@bbn.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!ames!ncar!oddjob!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.bugs.4bsd,comp.bugs.misc,comp.bugs.sys5 Subject: Re: Hard Links between UNIX Utility Programs Keywords: unix links bsd sysv sys5 Message-ID: <12686@mimsy.UUCP> Date: 27 Jul 88 03:13:20 GMT References: <184@chip.UUCP> <2950@ci.sei.cmu.edu> <27498@bbn.COM> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 19