10 More Discussions You Might Find Interesting
1. Solaris
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
2. Shell Programming and Scripting
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
3. Solaris
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
4. UNIX for Dummies Questions & Answers
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
5. Solaris
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
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
7. UNIX for Dummies Questions & Answers
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... (0 Replies)
Discussion started by: philib
0 Replies
8. UNIX for Advanced & Expert Users
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
9. Solaris
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
10. Cybersecurity
Hi,
Does anyone have a script (for AIX) that sends a message to a user that his password will be expired within 5 days for ex.
Thanks (1 Reply)
Discussion started by: Diederd
1 Replies
shexp(1) General Commands Manual shexp(1)
Name
shexp - display password expiration information for a user
Syntax
shexp [-q] [username]
Description
The command is used to display a user's password expiration information. The specified username, or logname if no username is supplied, is
converted to a UID by searching through the passwd file. The UID is then used to look up the user's entry in the Auth Data Base. The
password expiration information is then printed out in format.
% shexp
Expires Tue Dec 6 10:49:18 EST 1988
If the password has already expired the word Expires will be replaced with the word Expired. If password expiration is disabled for the
particular user in question the output of will be Never expires.
Options
-q Instead of displaying the expiration date and time in format, outputs it as three decimal numbers: the minimum password lifetime, the
maximum password lifetime, and the password modification time. All three numbers are displayed as they are found in the database.
Restrictions
Only the super-user may obtain information about users with UIDs other than the real UID of the invoking process.
Diagnostics
User not found in passwd data base.
There is no entry in for the specified username.
Cannot stat auth file.
The database is missing (security features may not be enabled).
Insufficient privilege.
An insufficiently privileged user is asking for information about a username with a UID different then their current real-UID.
An exit value of 0 indicates a successful operation, any other exit status indicates an error.
Files
See Also
passwd(1), getauthuid(3), auth(5)
Security Guide for Users
shexp(1)