1752805 Members
5571 Online
108789 Solutions
New Discussion юеВ

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 4
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
Dennis Handly
Acclaimed Contributor

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.