09-19-2007
Password database
Quote:
Originally Posted by
cassj
What are you wanting to accomplish with this...
1. just store all kinds of passwords securely in a database for users to retrieve.
Basically yes.
This database is for use by a support group maintaining routers, switches, servers, etc. Of course all users should not have access to everything so I need to be able to limit their access to passwords based on the group they are in. From my limited database knowledge I believe this would be considered a view.
2. Or does the database need to feed to passwords to applications? That of course is more involved.
Nope, not needed.
2. Server as a central authentication point for infrastructure access? In that case, ONE option would be to look at LDAP, such as OpenLDAP
OpenLDAP
No, not trying to set up something like a PKI, that's too complicated for me.
Thanks
thumper
8 More Discussions You Might Find Interesting
1. Programming
HI i need to delete an entry in /etc/security/passwd.
can't find a way to do it with userpw.h api ( AIX ).
the passwd file i delete like this.
Write all entrys to passwd file except the one we are removing.
can't find any function that works like getspent / getpwent do
in AIX userpw api.... (4 Replies)
Discussion started by: nighter
4 Replies
2. Shell Programming and Scripting
Hi,
I need to connect to DB through my shell script. but I dont want to hardcode my db password in the script. Is there a way to do it?
Thanks
---------- Post updated at 07:42 PM ---------- Previous update was at 04:54 PM ----------
:(Guys..please help me with this:( (1 Reply)
Discussion started by: agrawal.prachi
1 Replies
3. Shell Programming and Scripting
Hi there,
This is my first post, so as you have probably guessed I am looking for some help.
Currently we have close to 1000 ksh scripts operating on HPUX servers that call either isql or bcp to connect to Sybase databases. Problem being that the db passwords are appearing in the job log... (3 Replies)
Discussion started by: kdk_irl
3 Replies
4. Solaris
I installed Oracle 10 software on Solaris 11 Express, everything was fine execpt I can't create database using dbca.rsp file. I populated file with following options.
OPERATION_TYPE = "createDatabase"
GDBNAME = "solaris_user.domain.com"
SID = "solaris_user"
TEMPLATENAME = "General... (0 Replies)
Discussion started by: solaris_user
0 Replies
5. Shell Programming and Scripting
Hi All,
I want to validate the Production Database password at the time of login through script. If incorrect password entererd by the user, the script will ask again for the password.
Below is the sample of my script...
#########################
# Unix Code Starts here #... (6 Replies)
Discussion started by: saps19
6 Replies
6. Shell Programming and Scripting
I have a reseller account with hostgator, which means i have WHM and Cpanel. I have set up a staging environment for one of my wordpress installations (client website), which is essentially sitting at staging.domain.com (live site is at domain.com). The staging website is a complete copy of the... (1 Reply)
Discussion started by: nzrobert
1 Replies
7. UNIX for Beginners Questions & Answers
Hello everybody,
I need to modify 200 files using a patern matching, I would like to do it with sed but it's not working with the following syntax:
sed -e 's/DATABASE_PASSWORD.*oldpass/DATABASE_PASSWORD__', 'newpass/g' config.php
need to find:
define("__DATABASE_PASSWORD__", ... (6 Replies)
Discussion started by: dco
6 Replies
8. Forum Support Area for Unregistered Users & Account Problems
I was unable to login and so used the "Forgotten Password' process. I was sent a NEWLY-PROVIDED password and a link through which my password could be changed. The NEWLY-PROVIDED password allowed me to login.
Following the provided link I attempted to update my password to one of my own... (1 Reply)
Discussion started by: Rich Marton
1 Replies
LEARN ABOUT REDHAT
slapcat
SLAPCAT(8C) SLAPCAT(8C)
NAME
slapcat - SLAPD database to LDIF utility
SYNOPSIS
/usr/sbin/slapcat [-v] [-c] [-d level] [-b suffix] [-n dbnum] [-f slapd.conf] [-l ldif-file]
DESCRIPTION
Slapcat is used to generate an LDAP Directory Interchange Format (LDIF) output based upon the contents of a slapd(8) database. It opens
the given database determined by the database number or suffix and writes the corresponding LDIF to standard output or the specified file.
The LDIF generated by this tool is suitable for use with slapadd(8). As the entries are in database order, not superior first order, they
cannot be loaded with ldapadd(8) without being reordered.
OPTIONS
-v enable verbose mode.
-c enable continue (ignore errors) mode.
-d level
enable debugging messages as defined by the specified level.
-b suffix
Use the specified suffix to determine which database to generate output for. The -b cannot be used in conjunction with the -n
option.
-n dbnum
Generate output for the dbnum-th database listed in the configuration file. The -n cannot be used in conjunction with the -b
option.
-f slapd.conf
specify an alternative slapd.conf(5) file.
-l ldif-file
Write LDIF to specified file instead of standard output.
Limitations
Your slapd(8) should not be running (at least, not in read-write mode) when you do this to ensure consistency of the database.
EXAMPLES
To make a text backup of your SLAPD database and put it in a file called ldif, give the command:
/usr/sbin/slapcat -l ldif
SEE ALSO
ldap(3), ldif(5), slapadd(8), ldapadd(1), slapd(8)
"OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)
ACKNOWLEDGEMENTS
OpenLDAP is developed and maintained by The OpenLDAP Project (http://www.openldap.org/). OpenLDAP is derived from University of Michigan
LDAP 3.3 Release.
OpenLDAP 2.0.27-Release 2 October 2000 SLAPCAT(8C)