  | |  | mkpasswd and yppasswd | mkpasswd and yppasswd 2002-08-26 - By Aaron Konstam
Back I will file a bugzilla report on this unless someone shows me I am off base. The mkpasswd does not work on the NIS server. Here is why: 1. On line 16 and 17 of mkpasswd it refers to /bin/yppasswd. yppasswd is in /usr/bin so it is not found.
2. Ok we change the lines. When yppasswd runs as root it does not work the way passwd runs as root. The latter only asks for the new passwd to be typed twice. yppasswd required the root passwd to be entered before the new passwds are entered. In mkpasswd lines 193 and following the appropriate passwd changing program is called. But the mkpasswd script at that point has no provision for entering the root passwd so the mkpasswd script fails.
I would appreciate someone confirming these facts or telling me I am crazy before I post the bugzilla. -- -- ---- ---- ---- ---- ---- ---- ---- ----- Aaron Konstam Computer Science Trinity University 715 Stadium Dr. San Antonio, TX 78212-7200
telephone: (210)-999-7484 email:akonstam@(protected)
|
|
 |