I am doing a project in C program which requires to type in password in Unix terminal. Does anybody know how to shade or not output any words typed by user in the terminal?
I use the function scan() to read typing from user. Thanks in advance. (2 Replies)
Hi falks,
I have the following ksh code:
echo "Enter VS Admin password:"
oldstty=`stty -g`
stty -echo intr '$-'
read password
stty $oldstty
echo
This code ask from a user to enter his password. The OS suppose to hide the entering of the... (2 Replies)
Hi,
I am writing a UNIX .ksh script and need to send the login password of the login id that is executing the script to a command that I am executing in the script. I don't want that password to be seen by anyone except whoever is executing the script.
Does anyone know how I can accomplish... (6 Replies)
I have a properties file that contains passwords, need to hide the passwords before the properties file can be distributed.
Input file:
prop1=1
prop2=2
password=123456 this is a test pw
prop3=3
password=789abc this is a prod pw
My sed command is:
sed 's/password=.*/password=xxx/g' <... (3 Replies)
hi all,
i run sqlplus command on unix(HP-UX)
like "sqlplus username/password@serverA @deneme.sql"
but when someone run "ps -ef | grep sqlplus", it can see my username and password :(
How can i hide username and password.
thanx. (1 Reply)
Dear folks,
The title of my thread says mostly all of what I want to do. Basically I want to auto-ssh to a remote host, and run a program on it (VLC is just an example). I wrote a script which calls xterm and then runs expect on it. The code is as follow
#!/bin/bash
export PASS="xxxxxxx"... (22 Replies)
Hi there,
I found out a very strange behavior.
If I call ssh, my password will be invisible when I'm prompted to type it:
santiago@cassiopee:~$ ssh titan.caoba.fr "echo connected"
santiago@titan.caoba.fr's password: <--- password is hidden when typed
connected
santiago@cassiopee:~$ If I... (5 Replies)
Hi Am using unix Aix Ksh
I need to hide the password using echo cmd
Connecting the database and fetching ip_address and password from one table.
greping the IP_address and password using two variable
IP_addr
Pawd
Then Used echo cmd
echo " connecting to $IP-addr and $Pawd"
... (3 Replies)
i have a shell script which calls a java program with username and password arguments.
#!/bin/ksh
#set some classpaths here
#finally run the command
java com.test -u $U -p $P
Now when i run it, the password shows up in the list of processes. I am not the admin on the server so cant... (3 Replies)
I am writing a shell script for sql loader (just copy part of the code) :
For security reason, I have to put the below loginName and password into another separate file instead of in the same file of this script.
Anyone can give me a hand. Thanks.
Shell Script :... (12 Replies)
Discussion started by: Jaewong
12 Replies
LEARN ABOUT OSF1
apropos
apropos(1) General Commands Manual apropos(1)NAME
apropos - Locates reference pages by keyword
SYNOPSIS
apropos keyword...
The apropos command shows which reference pages contain instances of any of the given keywords in their purpose lines.
OPTIONS
Specifies the word(s) for which apropos should search.
DESCRIPTION
In looking for keywords, apropos considers each word separately and ignores the case of letters. Words that are part of other words are
also considered; thus, when looking for the word compile, apropos will also find all instances of compiler.
If the output of the apropos command begins with a name and reference section number, you can enter man section name. For example, if the
output of the apropos command is make(1u), you can enter man 1u make to obtain the reference page on System V version of the make command.
The apropos command works just like the man command with the -k option.
EXAMPLES
To find reference pages with the keyword password in the purpose line, enter: apropos password
FILES
Keyword database.
SEE ALSO
Commands: man(1), whatis(1), catman(8)apropos(1)