Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!library.ucla.edu!europa.eng.gtefsd.com!uunet!Germany.EU.net!netmbx.de!zrz.TU-Berlin.DE!zib-berlin.de!uni-paderborn.de!urmel.informatik.rwth-aachen.de!news.rhrz.uni-bonn.de!saph2.physik.uni-bonn.de!juengst From: juengst@saph2.physik.uni-bonn.de (Henry G. Juengst) Newsgroups: comp.os.386bsd.questions Subject: Re: "su" for one command Date: 2 Dec 1993 16:14:47 GMT Organization: Physikalisches Institut der Universitaet Bonn Lines: 34 Distribution: world Message-ID: <2dl49n$4am@news.rhrz.uni-bonn.de> References: <2dkb8a$hoq@sylvester.cc.utexas.edu> Reply-To: juengst@saph2.physik.uni-bonn.de NNTP-Posting-Host: saph1.physik.uni-bonn.de In article <2dkb8a$hoq@sylvester.cc.utexas.edu>, vax@sylvester.cc.utexas.edu (Vax) writes: >Path: news.rhrz.uni-bonn.de!urmel.informatik.rwth-aachen.de!gmd.de!newsserver.jvnc.net!yale.edu!spool.mu.edu!uwm.edu!cs.utexas.edu!geraldo.cc.utexas.edu!sylvester.cc.utexas.edu!not-for-mail >From: vax@sylvester.cc.utexas.edu (Vax) >Newsgroups: comp.os.386bsd.questions >Subject: "su" for one command >Date: 2 Dec 1993 03:07:22 -0600 >Organization: The University of Texas - Austin >Lines: 9 >Message-ID: <2dkb8a$hoq@sylvester.cc.utexas.edu> >NNTP-Posting-Host: sylvester.cc.utexas.edu > >Under BSD Unixes, how does one go about executing a single command >as another user? I have been unsuccessful in applying the standard: >"su foo command". It simply ignores the command. Is there a proper way >to do this? Do you use a "here" document? Can you nest them? > >Thanks, please reply via email Try to get via anonymous ftp from boss1.physik.uni-bonn.de [131.220.221.30] pub/unix/dosu/dosu-1.35.tar.gz Henry >-- >Protect our endangered bandwidth - reply by email. NO BIG SIGS! >VaX#n8 vax@ccwf.cc.utexas.edu - Don't blame me if the finger daemon is down > -- juengst@saph2.physik.uni-bonn.de [131.220.221.12] (internet) juengst@boss1.physik.uni-bonn.de [131.220.221.30] saph2::juengst [13.259] (decnet) Any opinions in this mail are my own.