search for: bash_argv

Displaying 5 results from an estimated 5 matches for "bash_argv".

2016 Aug 05
4
Fwd: Re: Encrypt /decrypta file with ssh keys.
...part -------------- #!/bin/bash # this is the proof of concept for secure file command. # usage: sfile [-e|-d] [-k <pub_private_key>] <file_path> # result is written to stdout. subcommand='decrypt' user_key='' user_file='' ignore_next='0' BASH_ARGV_LEN=$((${#BASH_ARGV}-1)) for i in `seq $BASH_ARGV_LEN -1 0 `; do if [ $ignore_next == '0' ]; then if [ "X${BASH_ARGV[$i]}" == 'X-d' ]; then subcommand='decrypt' elif [ "X${BASH_ARGV[$i]}" == 'X-e' ]; then subcomma...
2010 Aug 29
1
Re: Trouble with libgsm on Mac OS X 10.6.2
Code: Apple_PubSub_Socket_Render=/tmp/launch-mcYObM/Render BASH=/bin/bash BASH_ARGC=() BASH_ARGV=() BASH_LINENO=() BASH_SOURCE=() BASH_VERSINFO=([0]="3" [1]="2" [2]="17" [3]="1" [4]="release" [5]="i386-apple-darwin9.0") BASH_VERSION='3.2.17(1)-release' CLICOLOR=true COLUMNS=270 COMMAND_MODE=unix2003 DIRSTACK=() DISPLAY=/tmp/la...
2008 Jan 06
1
tomcat still sees jvm version 1.4.2 in Cent OS 5
...ovide 'java'. Selection Command ----------------------------------------------- 1 /usr/lib/jvm/jre-1.4.2-gcj/bin/java *+ 2 /usr/lib/jvm/jre-1.5.0-sun/bin/java Enter to keep the current selection[+], or type selection number: # set BASH=/bin/bash BASH_ARGC=() BASH_ARGV=() BASH_LINENO=() BASH_SOURCE=() BASH_VERSINFO=([0]="3" [1]="1" [2]="17" [3]="1" [4]="release" [5]="i686-redhat-linux-gnu") BASH_VERSION='3.1.17(1)-release' COLORS=/etc/DIR_COLORS.xterm COLUMNS=80 CVS_RSH=ssh DIRSTACK=() EUID=0 GRO...
2008 Mar 23
6
Access rights between AGI and Web server?
Hello I run AGI scripts from extensions.conf to save data into an SQLite database file, but this file must also be accessible in read-write mode by PHP scripts served by Lighttpd. As far as I can tell, Asterisk runs by default as root:wheel. I don't know if AGI scripts also run as root:wheel. Lighttpd runs as www:www, and if I create a new SQLite database through PHP scripts, they're
2009 Apr 08
3
libedit not found on SUse 11.1
...5 | + cat conftest.err + case $ac_val in | + echo 'configure:12368: $? + for ac_var in '`(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA | + exit 0 + eval 'ac_val=$BASH_ARGV' | + test -z '' ++ ac_val=--disable-strip | + test -s conftest.o + case $ac_val in | + echo 'configure:12373: re + for ac_var in '`(set) 2>&1...