  | |  | mkpasswd and yppasswd - one more time | mkpasswd and yppasswd - one more time 2002-08-26 - By Aaron Konstam
Back I guess I will file a bugzilla report. Is there really no one out there that has noticed that mkpasswd has not worked in an NIS environment since 7.1 at least. It is badly broken and I need to report it. Even if you don 't use it could someone look at it and check that the statements below are valid. I would appreciate it so I don 't make a fool of myself.
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)
-- -- End forwarded message -- --
-- -- ---- ---- ---- ---- ---- ---- ---- ----- Aaron Konstam Computer Science Trinity University 715 Stadium Dr. San Antonio, TX 78212-7200
telephone: (210)-999-7484 email:akonstam@(protected)
|
|
 |