09-25-2017
Hi Don, what do you mean by the follows ?
Do you mean to name the credential file with loginName and password as "xxxx.secret" ?
If so, I tried to name it as "login.secret", but it can still show up with "ls" command.
" To make it slightly less obvious to people looking for passwords, I would suggest that the last component of the absolute path named by DATAFILE should have a period as the first character (such as .secret) so it won't show up in an ls command unless the -a option is included. "
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I am very new to Unix so I want to apologize in advance in case my question is stupid.
I wrote a KORN script that I am planning to distribute to many users. This script contains sensitive information that the users should not see: user name and password to our database servers with... (11 Replies)
Discussion started by: alan
11 Replies
2. Programming
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)
Discussion started by: ivancheung
2 Replies
3. Shell Programming and Scripting
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)
Discussion started by: nir_s
2 Replies
4. Shell Programming and Scripting
Hi everybody,
Do you know how to hide the text for interactive unix shell script? Just like the case for inputting password during logon.
Patrick (1 Reply)
Discussion started by: patrickpang
1 Replies
5. Shell Programming and Scripting
All,
In my script I am calling another script.. in that script I need to enter a password. Problem is that everyone is able to see the password when I enter that. Is there any way that when i enter that password it should not display or may look like *******.
Or if there any other way that I... (1 Reply)
Discussion started by: arpitk
1 Replies
6. Shell Programming and Scripting
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)
Discussion started by: samd
6 Replies
7. UNIX for Dummies Questions & Answers
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)
Discussion started by: temhem
1 Replies
8. Shell Programming and Scripting
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)
Discussion started by: dukevn
22 Replies
9. Shell Programming and Scripting
Hi
I have following problem Im writing a script (in bash ) , where need to be written login & passwd for databas client .
Its need to in following form login passwd@dbhostname .
The problem is so anybody can read it so the passwd & login are visible and thats not very safety .
Can... (8 Replies)
Discussion started by: kvok
8 Replies
10. Shell Programming and Scripting
i have an expect script that runs like this:
/usr/bin/expect -f /home/skysmart/commandstoexecute.sh host2.net b$4aff Skysmart
when i run this command, and i do a ps -ef and egrep for expect, i see the exact line in the process table and it shows my password for the world to see.
how can i... (2 Replies)
Discussion started by: SkySmart
2 Replies
LEARN ABOUT DEBIAN
dot-spop3d
dot-spop3d(5) User's Manual dot-spop3d(5)
NAME
dot-spop3d - user configuration data for The Solid POP3 Server.
DESCRIPTION
A user can specify their maildrop location, type and associated APOP secret in the configuration file ~/.spop3d.
The file must be set to mode 0600 (-rw-------) or the server will not honour its content.
Maildrop specification consists of three parts, separated by white space characters:
MailDrop path type
Path should be specified in the same format as the -n option in solid-pop3d(8). Type should be mailbox or maildir.
APOP secret specification consists of the word APOPSecret followed by an encrypted secret. You shouldn't change this secret manually. Use
pop_auth(1) to do this.
Both maildrop and APOP secret specifications may optionally be followed by a mailbox name. This allows, for instance, user+boxA and
user+boxB to be used as login names to access different mailboxes, where + means value of UserMailDropDelimiter server setting (see
spop3d.conf(5)).
The APOP secret associated with a particular maildrop should be followed with the same mailbox name (or lack thereof). If no secret is
specified for a maildrop then the user's standard POP password should be used to authenticate instead.
EXAMPLE
MailDrop Mail/default mailbox
APOPSecret 2345678901
MailDrop Mail/bugtraq mailbox bugtraq
APOPSecret 0123456789 bugtraq
MailDrop Mail/private mailbox private
APOPSecret 9876543210 private
To set the APOP secret for the above maildrops use the following pop_auth(1) commands:
pop_auth
pop_auth bugtraq
pop_auth private
FILES
~/.spop3d
User configuration file.
SEE ALSO
solid-pop3d(8), pop_auth(1), spop3d.conf(5),
AUTHOR
Jerzy Balamut <jurekb@dione.ids.pl>
Unix OCTOBER 1999 dot-spop3d(5)