Listing 3: Sample output
Usual compile:
cc -o checkfor checkfor.c
Sample output:
[email protected]
[email protected]
[email protected] End of forwarding chain.
[email protected]
[email protected] Duplicate user/hostname combination!
Finished.
Command line invocation:
this.machine.com:/home/myaccnt> checkfor [email protected]
Standard input invocation:
this.machine.com:/home/myaccnt> cat userdata | checkfor -s
Contents of userdata:
myaccnt this.machine.com
othracct that.machine.com
|