Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Tru64 5.1a Enhanced security u_oldcrypt u_newcrypt values changing
@ 2005-10-28  6:40 Sumedh
  2005-10-28 15:00 ` Ann Majeske
  0 siblings, 1 reply; 2+ messages in thread
From: Sumedh @ 2005-10-28  6:40 UTC (permalink / 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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-10-28 15:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-28  6:40 Tru64 5.1a Enhanced security u_oldcrypt u_newcrypt values changing Sumedh
2005-10-28 15:00 ` Ann Majeske

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