Tuesday, June 20, 2006

hp-ux change password

just now i tried to change one user password on hp-ux, but it prompt this instead:
# passwd user
Enter your user number here:

what the hell is this? never seen this before. i tried entered a few number but failed :(

but google helped me out :)
actually the system is in trusted mode. a user has been given admnum
check it with /usr/lbin/getprpw -m admnum user
# /usr/lbin/getprpw -m admnum user
admnum=430

provide the number while changing the password
# passwd user
Enter your user number here: 430
Last successful password change for user: NEVER
Last unsuccessful password change for user: Mon Jun 19 00:40:18 2006

New password:
Re-enter new password:

password changed succesfully!

1 comment:

Anonymous said...

Banyak cara yang diperkenalkan untuk elakkan pengguna tertukar password secara tak sengaja. Ada gak cara2 tu berguna untuk elakkan password sniffer.

Latest post FOSS.my 2008: Biggest Open Source Event

Datang tak FOSS.my 2008 nih