Changing Password with edauth

From: Jorge Rućo (jruao@fe.up.pt)
Date: Wed Mar 09 2005 - 09:32:11 EST


Hi,

I'm using a Tru64 UNIX v5.1b with C2 security and NIS.
I'm developing an internal aplication at our university and need to
change an user password.

Is it possible to do it with edauth?
I'm runing the following comands but wihtout sucess:

____________________________________________________
/setenv EDITOR /usr/bin/vi
edauth -g teste | sed 's/:u_pwd#AdC/dNlruzDR8:/g' | edauth -s/
____________________________________________________

after running it i do a

____________________________________________________
/ypcat prpasswd | grep teste /
____________________________________________________

just to find out that the change was not made...
Am I doing something wrong?

Thanks
Jorge Rućo



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:50:16 EDT