Sponsored Content
Full Discussion: ksh program with password
Top Forums Shell Programming and Scripting ksh program with password Post 94345 by linuxpenguin on Thursday 29th of December 2005 04:16:16 PM
Old 12-29-2005
hmm, there are many standard ways and it only depends on how secure you want it to be. Higher the security you want, higher will be the complexity in the script.
and if you just want to check some string stored in file, it will be easy but not so secure.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

date program in ksh

#Author : kkodava #!/usr/bin/ksh #Use of this program is You can findout the no of days & day of starting and ending dates #usage no_of_days startdate<yyyymmdd> enddate<yyyymmdd> syy=`echo $1|cut -c1-4` smm=`echo $1|cut -c5-6` sdd=`echo $1|cut -c7-8` eyy=`echo $2|cut -c1-4` emm=`echo... (1 Reply)
Discussion started by: krishna
1 Replies

2. Programming

parameters from my program in c to a .ksh script

hi.. this is my question: it is possible transfer parameters from my program written in C to a .ksh script? how can i do it? i have a program in C, what is called from a .ksh script, and i need what the C program returns some values (parameters) please, help me - any idea thanks ... (2 Replies)
Discussion started by: DebianJ
2 Replies

3. Shell Programming and Scripting

grep within ksh program

Hi, is there problem with grep command when using ksh? I had the below command: /usr/bin/grep \""$Mon $NewDD\"" /tmp/timemanager/intlog.$$ >> /tmp/timemanager/log.$$ 2>/dev/null when I run ksh in debug mode, this command can not grep anything even the data is in the file. + /usr/bin/grep... (3 Replies)
Discussion started by: cin2000
3 Replies

4. AIX

UserID password validation using C program

I am new to AIX. I was wondering if there is a security API on AIX which I can call from my C program to validate the userID and password of a user. My plan is to have my C program prompt the user for UserID and password. I'll then call the AIX security API to determine what authority the user... (1 Reply)
Discussion started by: AIX_user
1 Replies

5. Shell Programming and Scripting

Invoke perl program from Ksh

Hi all, Can I invoke a perl script from Ksh script and pass parameters to the perl script. Please do help me.. thanks Maha (10 Replies)
Discussion started by: mahalakshmi
10 Replies

6. Shell Programming and Scripting

Expect program with password as arg

Hi, I have written Expect script that takes root password as argument, and executes another script. The another script prompts for password, which Expect feeds. But Expect shows the password on stdout and in the log. Is there a way to suppress it? (1 Reply)
Discussion started by: illcar
1 Replies

7. Shell Programming and Scripting

convert ksh to C program

Hi Guys...is there a way to convert a .ksh script to .C program..? (3 Replies)
Discussion started by: aggars
3 Replies

8. UNIX for Dummies Questions & Answers

Shell program with username and password

Hi I am new to unix and I am trying to figure out how to write a shell script with a login name and password. I want to do something along the lines of if both are correct it echoes "you are logged in" and if the password is wrong it echoes "wrong password" and same with the login name. I've tried... (7 Replies)
Discussion started by: thedemonhunter
7 Replies

9. Shell Programming and Scripting

Automating a Java program using KSH

Hi Guys, We have a java program that basically install updates to an existing software. The java program consist of several screens asking user for choices (please see below for a detailed example) *** Screen 1 *** Please choose the operation you want to perform: 1. Install new... (5 Replies)
Discussion started by: maddmaster
5 Replies

10. Shell Programming and Scripting

ksh program

Hi, I have a text file with multiple sql statements in which I have pick only the below select update and delete statements and do print as given below. All the select,update,delete statements will be as same as ( subquery with ().all statements ending with ; ) the examples given below. 1)... (19 Replies)
Discussion started by: manasa_vs
19 Replies
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)
All times are GMT -4. The time now is 11:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy