![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to pass parameter to subroutine | ssuresh1999 | UNIX for Dummies Questions & Answers | 2 | 08-15-2008 05:04 PM |
| chpass subroutine not updating NIS | rmm47 | High Level Programming | 1 | 03-30-2007 10:30 AM |
| 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 |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Using the passwdpolicy() subroutine.
Okay, so in AIX, there are various subroutines that is built in to the OS. The subroutine is I want to use is passwdpolicy(). So I want to construct a C program that will be able to pass credentials into the program and thusly into the subroutine.
I'm not asking for homework, or for someone to do it. All I'm asking is how do I USE the subroutine. Here is the subroutine: #include <pwdpolicy.h> int passwdpolicy (const char *name, int type, const char *old_password, const char *new_password, time64_t last_update); Now. Let's say I want to test the password for the user testy, with an old password of a1s2d3f4 and a new password of q1w2e3r4. Here is the link to the subroutine, via IBM: IBM Systems Information Center |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|