![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| updating kde 3.5 to 4.0 | revolver | UNIX for Dummies Questions & Answers | 2 | 01-25-2008 11:04 PM |
| Problem in subroutine calling | sarwan | Shell Programming and Scripting | 1 | 01-17-2006 02:22 AM |
| passing "stderr " to a subroutine.. | sekar sundaram | Shell Programming and Scripting | 1 | 11-29-2005 08:14 PM |
| how to write stderr in a subroutine log file?.. | sekar sundaram | Shell Programming and Scripting | 1 | 11-24-2005 09:49 AM |
| updating ssa | chosie | AIX | 1 | 06-03-2005 05:39 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
chpass subroutine not updating NIS
Hello,
I'm implementing a change password interface in our company's AIX application but am having trouble getting it to work with NIS using the chpass subroutine. According to the "chpass" subroutine man page it handles password changes for local, NIS, and DCE passwords. However "chpass" is only changing the local user password in my test program. NIS still recognizes the old password. Using the passwd command from the command line updates NIS so I'm wondering why calling "chpass" from my test program does not update NIS? Here's the basic logic for completeness: call "loginrestrictions" to check for login restrictions call "authenticate" to athenticate the user call "passwdexpired" to check for expired password call "chpass" if password expired and user can change it The architecture for this intranet application is: the clients are Windows IE browsers communicating with an inetd daemon on AIX. "chpass" is being called from the inetd service running as root. I appreciate any suggestions. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|