From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,12793f1ad6be6163,start X-Google-Attributes: gidfa528,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!g47g2000cwa.googlegroups.com!not-for-mail From: "Sumedh" Newsgroups: comp.unix.tru64 Subject: Tru64 5.1a Enhanced security u_oldcrypt u_newcrypt values changing Date: 27 Oct 2005 23:40:50 -0700 Organization: http://groups.google.com Message-ID: <1130481650.298216.166020@g47g2000cwa.googlegroups.com> NNTP-Posting-Host: 59.163.69.2 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1130481655 13442 127.0.0.1 (28 Oct 2005 06:40:55 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 28 Oct 2005 06:40:55 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0),gzip(gfe),gzip(gfe) X-HTTP-Via: 1.0 PTPROXY Complaints-To: groups-abuse@google.com Injection-Info: g47g2000cwa.googlegroups.com; posting-host=59.163.69.2; posting-account=Z-0Q3A0AAAClWvzKA82z7PPw_O-8P8As Xref: g2news1.google.com comp.unix.tru64:391 Hi, I have a custom application running on a tru64 box..it is basically used to provision user accounts and their passwords,etc..i run it with root privileges..the default database shows u_newcrypt#2 as one of the entries..when i use the OS api functions through my application to update a user passwd(i write to the auth.db) i can login with my new passwd for the same user..also,when i do a edauth -dp -g ,i dont see any values for the u_oldcrypt and u_newcrypt attributes..now,immediately after this I do a passwd change on the box using "passwd " ..i do an edauth and now I see u_oldcrypt is 2,the output doesnt have any mention of u_newcrypt....i can login with this new passwd as well ..I run another passwd change through my custom application on the same user and I get u_oldcrypt as 1 in my edauth output..but now I cant login with this password or even the previously set password..the user account has become unusable.I suspect u_oldcrypt is causing this problem in this sequence of operations..but i cant figure out what its used for and how does it relate to u_newcrypt?Can anyone throw any light on how these two values correalte whether u_oldcrypt=u_newcrypt after a password change?My custom code uses crypt() which is I believe corresponds to u_newcrypt value 2 encryption mechanism..any help is highly appreciated, Many Thanks, Sumedh