SUMMARY: about password (2)

From: Kun Li (likun@bjaimail.asiainfo.com)
Date: Mon Jun 16 1997 - 21:29:48 CDT


Thanks for all response .

Here is some advise:

Glenn.W.Cantello@hydro.on.ca
-------------------------------------------
Try doing a man on passwd.
Near the end it mentions some files of importance.
The one of interest to you is probably:
/etc/default/passwd
-----------------------------------------------

here is my /etc/default/passwd file:

#ident "@(#)passwd.dfl 1.3 92/07/14 SMI"
MAXWEEKS=
MINWEEKS=
PASSLENGTH=6

I can't find anything strange, maybe you have any idea .

-likun

Jim Harmon said
--------------------------
If it is such a script, you have only a few places you can look to find
it...

a: cron
b: root's login script
c: the system default login script(s)
d: the rcX.d files

Does it prompt you to change the passwd when you boot as single-user?

        if yes, then it must be in the root scripts or the root shell
        directory, since that is seperate from the user shell directory.

        if no, then it must be in one of the rc files or the system
        default login script(s), or in a crontab file, probably root
        since it would need root priviledge to usurp login.
---------------------------------------------------

Did you mention password aging ?

-likun

>From -- Oscar Goldes
-----------------------------------------
I think passsword aging is turned on and off from admintool at the time
users are created. Perhaps you might run admintool under truss and
create a
new user to see what it does....
------------------------------------------

Rene OCCELLI has follows
-----------------------------------------------------
I have not read your precedent mail on this topic.
First I presume you are running NIS+
If you are running password aging the output of command
passwd -s username

gives you
without password aging: username status
With passord aging: username status mm/dd/yy min max warn where

I'm not running NIS+ but I presume because password aging is automatic
with NIS+.

You can turn off password aging with

Turn off aging while allowing user to retain current password:
passwd -x -1 username

Force user to change password at next login and then turn off aging
passwd -x 0 username
-----------------------------------------------------------------------

I am running nerther nis+ nor nis . and when I run 'passwd -s username
' , it
 returns 'username PS' . So there is no password aging running. And now
I
doult if it is a solaris' bug that has been report or not somewhere.
But anyway,
thanks all .

likun@bjaimail.asiainfo.com



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:57 CDT