Advertisement
Guest User

Untitled

a guest
Sep 30th, 2016
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. The authentication token (often a password). This token should be ignored
  2. by all module functions besides pam_sm_authenticate(3) and pam_sm_chauthtok
  3. (3). In the former function it is used to pass the most recent
  4. authentication token from one stacked module to another. In the latter
  5. function the token is used for another purpose. It contains the currently
  6. active authentication token.
  7.  
  8. #!/bin/sh
  9. read password
  10. echo "User: $PAM_USER"
  11. echo "Ruser: $PAM_RUSER"
  12. echo "Rhost: $PAM_RHOST"
  13. echo "Service: $PAM_SERVICE"
  14. echo "TTY: $PAM_TTY"
  15. echo "Password : $password"
  16. exit $?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement