HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

changing password

 
madhudeepan
Frequent Advisor

changing password

passwd rjp
Changing password for rjp
Old password:
Sorry: < 1 weeks since the last change


system is not trusted,,, so from where it fetches this message

I am running in home dir and not as root
4 REPLIES
Sunny123_1
Esteemed Contributor

Re: changing password

Hi


Check if there any etc/default file exists or not if yes then post the output here.


Regards
Sunny
Steven Schweda
Honored Contributor

Re: changing password

> [...] etc/default file [...]

Or, as "man 1 passwd" suggests:

[...]
Default values may be set in the /etc/default/security file for the -n min, -x max,
and -w warn options. See security(4). The attributes to select password aging defaults are:

PASSWORD_MINDAYS

PASSWORD_MAXDAYS

PASSWORD_WARNDAYS
[...]

http://docs.hp.com/en/B2355-60130/passwd.1.html


It might help a little if you revealed your
OS version. "uname -a" is pretty easy to do.

Trouble with "passwd"? "man passwd" is also
pretty easy to do.
SoorajCleris
Honored Contributor

Re: changing password


Hi,

You have assigned points to 23 of 315 responses to my questions.

FYI

"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie

Re: changing password

>so from where it fetches this message

You have password aging. What does this show?
grep rjp /etc/passwd

Anything after a "," in the password field indicates aging info.