Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!amdcad!ames!ptsfa!hoptoad!unisoft!cerebus!dank From: dank@cerebus.UUCP (Dan Kionka X5205) Newsgroups: comp.sources.wanted Subject: Re: Source wanted Message-ID: <332@cerebus.UUCP> Date: Tue, 13-Oct-87 15:48:56 EDT Article-I.D.: cerebus.332 Posted: Tue Oct 13 15:48:56 1987 Date-Received: Thu, 15-Oct-87 20:38:29 EDT References: <1213@daemen.uucp> Reply-To: dank@cerebus.UUCP (Dan Kionka X5205) Organization: Fujitsu America, Inc. Lines: 23 In article <1213@daemen.uucp> fox@daemen.uucp (Merlin) writes: > > I am looking for the source to sus.c. > This program was just like su but also allowed a user > to execute a command after the sus call. i.e. > sus > Of course passwd validation was needed. > If someone has it could you e-mail it to me. This can be done with a simple script: user=$1 shift su $user << END $* END A useful variation of this is a program we called "asroot" since it allowed you to do a single command as root: su << END $* END