Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Password Expired - cfmupdatenode issue Post 302151006 by philib on Thursday 13th of December 2007 10:30:17 AM
Old 12-13-2007
Password Expired - cfmupdatenode issue

Afternoon All
Has anyone seen this type of thing before. Basically we had an issue where an ID that has db2 connect access tried to make the db connection and got an " Attempt to establish connection failed with security reason "1"
("PASSWORD EXPIRED"). SQLSTATE=08001
" error.

This I know can happen normally however when we checked there was no issue with the ID at all. We checked the connection & it worked fine and a check on the last update to the password showed it was more than 2 months ago since the last time it was changed.
-perl -le 'print scalar localtime(shift);' 1192262598
Sat Oct 13 09:03:18 2007

What looks to have happened is that we have a cfmupdatenode cron job running at 10 mins past each hour. This was the time that the connection was attempted.
So my question is if passwd & other files in the /etc system are passed out from the cws can this affect normal ID connections where a password is needed. So was this just very unlucky to conflict or can something be done to avoid this in the future.
Cheers
Phil
 

10 More Discussions You Might Find Interesting

1. AIX

AIX Non Expired Password

Hi, I am into production support and handling some of the AIX servers. We are planning to have a user id on a AIX system with non-expired password. Now the question is that if I have a non expired password then I cannot do a interactive login to AIX machine ( i:e cannot do Telnet ,SSH etc)... (0 Replies)
Discussion started by: siddhhuu
0 Replies

2. Solaris

expired root password

We have expiration set on the root password for 30 days. the only way to login as root remotley is login as another user and then su as root. I logged in to the machine today tried to su as root, and got the message password has expired, use passwd to change but i cant get in as root.. If... (1 Reply)
Discussion started by: csaunders
1 Replies

3. UNIX for Advanced & Expert Users

password expired

Hi When i try to login with my username/password i get the following message 'Password for user 'lmathew' has expired - use passwd(1) to update it' please let me know what to do Thanks in advane Ammu (2 Replies)
Discussion started by: ammu
2 Replies

4. AIX

notification mail when password expired

Hallo, can anybody help me with my issue? Iīd like to know if it is possible to send me a mail (to @mail.com for example) when some account password will expired? eg. few days ago of this expiration. We donīt use this account every day, it is used for DB2 and DB2 has problem every 90īs day because... (2 Replies)
Discussion started by: JiriVenera
2 Replies

5. Solaris

Two questions on renew the expired password

Recently, the root pass expired on a Solaris box. And then, i can't log into the system anymore.....Below are two issues i met: 1. I tried to login the system via telnet and ssh. Only the ssh prompt me to set a new password. The system only told me that the pass is expired and turn it off during... (1 Reply)
Discussion started by: sleepy_11
1 Replies

6. AIX

How to enable password expired messages in ssh2

My SSH version is OpenSSH_5.0p1 and it is not prompting for new password and it is saying that when password expired "Permission denied". Please some one help me regarding this $ ssh devdhq4 "Use is subject to monitoring by First American CREDCO personnel. Any Criminal activity or wrongdoing... (1 Reply)
Discussion started by: choudarysuresh
1 Replies

7. UNIX for Dummies Questions & Answers

Request for change password when expired

Hello folks, I have few linux machines and one server from which I can connect to others without password (of course ssh key). On some server when root password will expired is asking me for change passord but on some servers no. When I can find some configuration of this behavior? Thx for any... (1 Reply)
Discussion started by: vikus
1 Replies

8. Solaris

Never Expired for root password

Never expired for root password Guy's I want to change the setting to keep the root password to be nerved expired! Please advice with the sitting! (9 Replies)
Discussion started by: top.level
9 Replies

9. Shell Programming and Scripting

Sftp - password change / expired

What happens to sftp when unix password expires / changes ? Do we need to regenerate keys again ? Please help. (3 Replies)
Discussion started by: vegasluxor
3 Replies

10. Solaris

Change Expired root Password

Hello everybody, hope you all are having a good day. Here is our (my) situation... We have a process where we clone Solaris 8 hard disk drives then have to configure each drive for the system they will be used in. In the old cloning image the root password never expired. We also have... (7 Replies)
Discussion started by: Wrongway
7 Replies
MAXDB_CONNECT(3)							 1							  MAXDB_CONNECT(3)

maxdb_connect - Open a new connection to the MaxDB server

       Procedural style

SYNOPSIS
resource maxdb_connect ([string $host], [string $username], [string $passwd], [string $dbname], [int $port], [string $socket]) DESCRIPTION
Object oriented style maxdb::__construct ([string $host], [string $username], [string $passwd], [string $dbname], [int $port], [string $socket]) The maxdb_connect(3) function attempts to open a connection to the MaxDB Server running on $host which can be either a host name or an IP address. Passing the string "localhost" to this parameter, the local host is assumed. If successful, the maxdb_connect(3) will return an resource representing the connection to the database or FALSE on failure. The $username and $password parameters specify the username and password under which to connect to the MaxDB server. If the password is not provided (the NULL value is passed), the MaxDB server will attempt to authenticate the user against the $maxdb.default_pw in php.ini. The $dbname parameter if provided will specify the default database to be used when performing queries. If not provied, the entry $maxdb.default_db in php.ini is used. The $port and $socket parameters are ignored for the MaxDB server. RETURN VALUES
Returns a resource which represents the connection to a MaxDB Server or FALSE if the connection failed. EXAMPLES
Example #1 Object oriented style <?php $maxdb = new maxdb("localhost", "MONA", "RED", "DEMODB"); /* check connection */ if (maxdb_connect_errno()) { printf("Connect failed: %s ", maxdb_connect_error()); exit(); } printf("Host information: %s ", $maxdb->host_info); /* close connection */ $maxdb->close(); ?> Example #2 Procedural style <?php $link = maxdb_connect("localhost", "MONA", "RED", "DEMODB"); /* check connection */ if (!$link) { printf("Connect failed: %s ", maxdb_connect_error()); exit(); } printf("Host information: %s ", maxdb_get_host_info($link)); /* close connection */ maxdb_close($link); ?> The above example will output something similar to: Host information: localhost PHP Documentation Group MAXDB_CONNECT(3)
All times are GMT -4. The time now is 08:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy