Sample output from a test run
Submitted by Daryle on Thu, 05/17/2012 - 15:56
Filename: | typescript.txt |
Project Name: | Pluggable Authentication Module (PAM) |
Language: | Text file |
Description: |
This file shows a sample run with the application showing the traffic and messages back and forth. |
Code:
[root@daryle lib]# ./cs_password guest 1guest Usage: pam_passwd <USER> <OLD_PASSWORD> <NEW_PASSWORD> [root@daryle lib]# ./cs_password guest guest guest1 Testing for weak passwords... ***Weak Password!: |it is based on a dictionary word| [root@daryle lib]# ./cs_password guest guest Guest1 Testing for weak passwords... Trying to get a handle to the PAM service... ...Service handle was created. Trying to see if the user is a valid system user... ***Message from PAM is: |Password: | ***Msg_style to PAM is: |1| ***Sending old password ***Response to PAM is: |oldguest| ...User guest is a real user. Trying to pass info to the pam_acct_mgmt function... ...User guest is permitted access. Trying to update the password token... ***Message from PAM is: |Enter new UNIX password: | ***Msg_style to PAM is: |1| ***Sending new password ***Response to PAM is: |1Guest1| ***Message from PAM is: |Retype new UNIX password: | ***Msg_style to PAM is: |1| ***Sending new password again ***Response to PAM is: |1Guest1| ...Successfully updated password! [root@daryle lib]#