Niedermayer.ca
Published on Niedermayer.ca (https://niedermayer.ca)

Home > Pluggable Authentication Module (PAM) > Sample output from a test run

Sample output from a test run

Project Name: 
Pluggable Authentication Module (PAM) [1]
  • Log in [2] to post comments
Filename: 
typescript.txt
Language: 
Text file
Summary: 

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]#

Source URL:https://niedermayer.ca/node/245

Links
[1] http://www.niedermayer.ca/node/233 [2] https://niedermayer.ca/user/login?destination=node/245%23comment-form