|
|
1.1 ! root 1: #!/bin/sh -p ! 2: # ! 3: # test authorization server ! 4: # ! 5: # - read a user name ! 6: # - generate and send a challenge string ! 7: # - read response ! 8: # - send YES\n or NO\n ! 9: # ! 10: ! 11: PATH=/usr/net:/bin:/usr/bin; export PATH ! 12: ! 13: read user ! 14: makechal "$user" ! 15: read response ! 16: checkauth "$user" "$makechal" "$response" ! 17: case $? in ! 18: 0) echo "YES";; ! 19: *) echo "NO";; ! 20: esac ! 21: exit ! 22:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.