Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: "Sumedh" <sumedh_sawant@persistent.co.in>
Subject: Tru64 5.1a Enhanced security u_oldcrypt u_newcrypt values changing
Date: 27 Oct 2005 23:40:50 -0700	[thread overview]
Message-ID: <1130481650.298216.166020@g47g2000cwa.googlegroups.com> (raw)

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 <username>,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 <username>" ..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



             reply	other threads:[~2005-10-28  6:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-28  6:40 Sumedh [this message]
2005-10-28 15:00 ` Tru64 5.1a Enhanced security u_oldcrypt u_newcrypt values changing Ann Majeske
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox