hi
I am trying to invoke another application script from my script like
---------------------------
main
.
.
./new appl <<EOF
Input 1
Input 2
EOF
.
.
exit
------------------------
But is exits the new application after input command 2, I want that it should not exit and accept... (1 Reply)
Hi Friends.
I am new to scripting now i want to change the root password using the script with standard password.
which is the easy scripting to learn for the beginner, Thanks in advance. (2 Replies)
Hi,
I want to login to many systems and password should be taken automatically from a file(login is working but password is not accepting). Any help on this is appreciable .
My code.
for i in `cat /tmp/tes ` ====>tes file contain list of hosts
> do ssh $i
> perl prog.pl
>... (1 Reply)
Is there a way accept A-Za-z0-9 from the user from a parameter?
EX. I want to take the parameter from the user even if its hEu or H3y
and store it as a parameter ( $1 ) (18 Replies)
I have a script in tcsh and I want to have a find option to which I can pass a file search pattern I want using the command:
/home/chrisd/tatsh/trunk/hstmy/bin/tcsh/raytrac.tcsh -f=*rc*
The set command seems to fail when user does not supply a search pattern (if user just supplies -f, a... (2 Replies)
I want to give my long scripts to customer. The customer must not be able to read the scripts even if he has the password. The following command locks and unlocks the script but the set +x is simply ignored.
The code:
read -p 'Script: ' S && C=$S.crypt H='eval "$((dd if=$0 bs=1 skip=//|gpg... (7 Replies)
Hi All,
I am trying to transfer a file from one server to a remote server using SFTP. Client is not ready for key setup.
I am working on Solaris 10.
Here is the code.
#!/bin/ksh
# sample automatic Sftp script to dump a file
USER="user1"
PASSWORD="pass1"
HOST="host1"
sftp $USER@$HOST... (6 Replies)
I am using a shell script in fedora linux. While calling to the shell I am also passing an argument (var1=0.77) like shown below
sh gossip.sh var1=0.77
in the shell following command is written (which doesn't work)
sed - i -e 's@prob=@prob="$var1";//@g' file.txt
Actually i want the... (7 Replies)
Hi Experts
I would like to ask if there is a way to validate if the variable passed is in this kind of sample format "06-10" or "10-01". It was really a challenge to me on how to start and echnically the "6-10" stands for "June 10" and "10-01" stands as "October 1", overall it needs to have ... (3 Replies)
Hi All,
I'm trying to run a script which issues rest commands via curl to an endpoint. If I put spaces in fields via something like insomnia, it works, but when I try from an input file, it's failing with a json error.
while IFS=, read mname oname <------ my input file... (10 Replies)
Discussion started by: say170
10 Replies
LEARN ABOUT SUNOS
asadmin-list-connector-security-maps
asadmin-list-connector-security-maps(1AS) User Commands asadmin-list-connector-security-maps(1AS)NAME
asadmin-list-connector-security-maps, list-connector-security-maps - lists the security maps for the named connector connection pool
SYNOPSIS
list-connector-security-maps --user admin_user [--password admin_password] [--host localhost] [--port 4848] [--secure|-s] [--passwordfile
filename] [--terse=false] [--echo=false] [--interactive=true]
[--verbose=false] [--securitymap mapname] pool_name
lists the security map belonging to the named connector connection pool.
This command is supported in remote mode only.
OPTIONS --user authorized domain application server administrative username.
--password password to administer the domain application server.
--host machine name where the domain application server is running.
--port port number of the domain application server listening for administration requests.
--secure if true, uses SSL/TLS to communicate with the domain application server.
--passwordfile file containing the domain application server password.
--terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-
formatted data for consumption by a script. Default is false.
--echo setting to true will echo the command line statement on the standard output. Default is false.
--interactive if set to true (default), only the required password options are prompted.
--verbose lists the identify, principals, and the security name.
--securitymap name of the security map.
OPERANDS
poolname name of the pool.
Example 1: Using list-connector-security-maps with security map option
asadmin> list-connector-security-maps --user admin --password adminadmin
--securitymap mysecuremap securityPool1
Command list-connector-security-maps executed successfully
One security map (mysecuremap) is listed for the securityPool1 pool.
Example 2: Using list-connector-security-maps
asadmin> list-connector-security-maps --user admin --password adminadmin
securityPool1
Command list-connector-security-maps executed successfully
All the security maps are listed for the securityPool1 pool.
EXIT STATUS
0 command executed successfully
1 error in executing the command
asadmin-delete-connector-security-map(1AS), asadmin-create-connector-security-map(1), asadmin-update-connector-security-map(1AS)J2EE 1.4 SDK March 2004 asadmin-list-connector-security-maps(1AS)