Article View: news.software.nntp
Article #48025Re: bash-2.03# su news -c ./makedbz -i Can't do dbzagain, No such file or directory b
From: Kjetil Torgrim Homme
Date: Tue, 22 Aug 2000 00:00
Date: Tue, 22 Aug 2000 00:00
24 lines
1536 bytes
1536 bytes
[bware@freeler.nl] > You were right all along... using `su news -c ../bin/makedbz -i` > was the cause of my problems... After I just su-ed to news and ran > `makedbz -i` the history.n* files appeared. > > (I guess su -c on Solaris is broken :\ ) No, you just don't understand how su works :-) All your parameters to su are passed to news' login shell verbatim. This means you are running the command sh -c ../bin/makedbz -i To sh, -i means interactive shell, so it is no syntax error. You need to quote the command: su news -c "../bin/makedbz -i" Kjetil T.
Technical Details
Message-ID:
<1ritstou1b.fsf@haey.ifi.uio.no>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<39A18373.2912CB61@freeler.nl> <yl8ztqw9p5.fsf@windlord.stanford.edu> <39A2363C.962E018A@freeler.nl> <ylsnrxbqul.fsf@windlord.stanford.edu> <39A24F3B.A94D5111@freeler.nl>Show Full Headers
Complete Article Headers
Message-ID: <1ritstou1b.fsf@haey.ifi.uio.no> Subject: Re: bash-2.03# su news -c ./makedbz -i Can't do dbzagain, No such file or directory b Date: Tue, 22 Aug 2000 00:00:00 +0000 From: Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> References: <39A18373.2912CB61@freeler.nl> <yl8ztqw9p5.fsf@windlord.stanford.edu> <39A2363C.962E018A@freeler.nl> <ylsnrxbqul.fsf@windlord.stanford.edu> <39A24F3B.A94D5111@freeler.nl> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 661298636 X-Complaints-To: abuse@ifi.uio.no X-Trace: maud.ifi.uio.no 966980336 722 129.240.64.139 (22 Aug 2000 21:38:56 GMT) Organization: Dept. of Informatics, University of Oslo, Norway NNTP-Posting-Date: 22 Aug 2000 21:38:56 GMT Newsgroups: news.software.nntp