sudo command

Karl Larsen k5di at zianet.com
Sun Apr 6 22:38:25 UTC 2008


N1UAN Bob wrote:
> 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
>   
    In rc.local put a new line in that is:

/root/./ham.sh

and try it. Also please send the actual whole rc.local file to us.

Karl

> 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
>>
>>
>>     
>
>
>   


-- 

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.
   PGP 4208 4D6E 595F 22B9 FF1C  ECB6 4A3C 2C54 FE23 53A7





More information about the ubuntu-users mailing list