sudo command

N1UAN Bob bobbru at chartertn.net
Sun Apr 6 22:35:46 UTC 2008


Ok the script name is ham.sh and in the root dir
in the /etc/rc.local file i have
cd /root
./ham.sh
and everything in that script run but that one line i posted
Thanks
Bob

On Mon, 7 Apr 2008, Karl Auer wrote:

> On Sun, 2008-04-06 at 21:52 +0000, N1UAN Bob wrote:
> > ok here are the cmds one works and the other doesnt
> >
> > sudo /usr/sbin/net2kiss -i ax0 /dev/ptys3 &   this one works
> > sudo /usr/sbin/flexd   this one doesnt work
> > the second line that doesnt work is suppose to connect to another program
> > and send data to it but has an connect error if i do this cmd from the cmd
> > prompt it ask for an password and then it send the data but in the script
> > it wont
>
> Sorry, I missed the start of this thread. Please post the exact and
> complete command line you are using to execute the script. My guess is
> that you are redirecting standard output and/or standard input, and that
> this is swallowing your password prompt and/or your password (probably
> along with your redirected input).
>
> Regards, K.
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Karl Auer (kauer at biplane.com.au)                   +61-2-64957160 (h)
> http://www.biplane.com.au/~kauer/                  +61-428-957160 (mob)
>
> GPG fingerprint: DD23 0DF3 2260 3060 7FEC 5CA8 1AF6 D9E3 CFEE 6B28
> Public key at  : random.sks.keyserver.penguin.de
>
>





More information about the ubuntu-users mailing list