07-08-2008
delete the /etc/services entry of telnet and all other unsecure services!
reboot!
Br joerg
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
We currently take files (via FTP) off of a mainframe and save them as a text file on our server. This is done via a script. The next thing that is done to that text file is it gets zipped (using ZIP). This all works fine, but it doesn't appear that ZIP (the free version) has any way to password... (2 Replies)
Discussion started by: dsimpg1
2 Replies
2. Programming
Hi,
I have usernames and passwords (to connect oracle DB) buried in so many shell scripts.
We want to externalize all usernames and passwords from those shell scripts and encrypt them and keep them in a file.
So far I found two choices,
1) Use some encryption algorithms like (RC5/MD5) to... (5 Replies)
Discussion started by: satguyz
5 Replies
3. Solaris
:DHi i am preparing a script to connect to oracle from solaris....
now i want that no one is able to see the password in the script.
is it possible...please help
Regards
Ankurk (3 Replies)
Discussion started by: ankurk
3 Replies
4. UNIX for Dummies Questions & Answers
In unix, i know the password encrypt by using salt
But how does it work? And how windows protect its password?
Thank you for helping in advance (5 Replies)
Discussion started by: cryogen
5 Replies
5. UNIX for Advanced & Expert Users
Hi,
I want to encrypt a unix file using the des3 algorithm. Seems that there are no standard unix utilities readily available. Can you please suggest how I can encrypt a unix file using des3 ? (2 Replies)
Discussion started by: samuel.vincent
2 Replies
6. Shell Programming and Scripting
Hi, I have a Java app that looks for some parameters in a .properties file such as username and password. However I don't want to leave the password in a text file and I can't modify the app...
Does anyone have some idea about how to encrypt/hide/etc the password so it's not freely accessible... (1 Reply)
Discussion started by: Tr0cken
1 Replies
7. Shell Programming and Scripting
Please let me know the how to hide Oracle credential in below script:
PP.AIX.ETL:/XYZ/abc/dsclientprod/home/scripts/monthly > cat exec_sql.sh
set +x
# import our environment
#. /xyz/abc/dsclientprod/home/my.env
ScriptOutput=/QIS2FTP/HP_ST_UAT/dsclientprod/home/scripts/ScriptRunInfo.txt... (2 Replies)
Discussion started by: rajubollas
2 Replies
8. UNIX for Dummies Questions & Answers
if I change my password on two different servers, using the same string but the encrypted password in /etc/passwd look different.
If I copy an entry from one /etc/password to the other server. I can still log in to both servers using the same password. Only now both /etc/passwd entries are... (2 Replies)
Discussion started by: C0ppert0p
2 Replies
9. Shell Programming and Scripting
I am working on a script where we are using sqlplus command to connect to Oracle DB. But the schemaname and password used for sqlplus authentication, have to be hardcoded in the script.
DBconnection=scott/tiger@SID
sqlplus $DBconnection
Here any user who reads the script can read the... (1 Reply)
Discussion started by: max29583
1 Replies
10. Shell Programming and Scripting
Hi Gurus,
I need to encrypt the Db passwords which are stored in a configuration file (.txt) as below:
stage_db_pwd=ABC
this is test line
content_db_pwd=123def
This is test line 2
stg_db_name=xyz
I want to encrypt all the password fields (identified by "pwd"), encrypt them in the same... (3 Replies)
Discussion started by: ashishpanchal85
3 Replies
LEARN ABOUT NETBSD
services_mkdb
SERVICES_MKDB(8) BSD System Manager's Manual SERVICES_MKDB(8)
NAME
services_mkdb -- generate the services databases
SYNOPSIS
services_mkdb [-qv] [-o database] [-V style] [file]
services_mkdb -u [file]
DESCRIPTION
services_mkdb creates a db(3) database for the specified file. If no file is specified, then /etc/services is used. The database is
installed into /var/db/services.cdb for CDB format and into /var/db/services.db for DB format (see -V). The file must be in the correct for-
mat (see services(5)).
The options are as follows:
-o database
Put the output databases in the named file.
-q Don't warn about duplicate services. This is the default behavior.
-u Print the services file to stdout, omitting duplicate entries and comments.
-V Create a specific version of the database style. style can be cdb to request the CDB format (default) or db to request the DB for-
mat. The DB format is useful for compatibility with old statically linked binaries.
-v Warn about duplicate services.
The databases are used by the C library services routines (see getservent(3)).
services_mkdb exits zero on success, non-zero on failure.
FILES
/var/db/services.db The current services database.
/var/db/services.db.tmp A temporary file.
/etc/services The current services file.
SEE ALSO
db(3), getservent(3), services(5)
BUGS
Because services_mkdb guarantees not to install a partial destination file it must build a temporary file in the same file system and if suc-
cessful use rename(2) to install over the destination file.
If services_mkdb fails it will leave the previous version of the destination file intact.
BSD
May 5, 2010 BSD