This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
tips:openbsd:identd [2010/01/10 22:56] mattieu created |
tips:openbsd:identd [2010/01/10 23:53] (current) mattieu |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Very simple and secure identd ====== | ====== Very simple and secure identd ====== | ||
| Save the code below as identd.c. Then compile it: | Save the code below as identd.c. Then compile it: | ||
| - | <code bash>$ cc identd.c -o fake_identd</ | + | <code bash>$ cc identd.c -o fake_identd |
| + | $ sudo cp fake_identd / | ||
| - | Then use it in ''/ | + | Then use it in ''/ |
| + | < | ||
| <file c identd.c> | <file c identd.c> | ||
| Line 114: | Line 116: | ||
| exit(0); | exit(0); | ||
| } | } | ||
| - | |||
| </ | </ | ||
| + | ~~NOTOC~~ | ||