yieco | hai | 03:10 |
---|---|---|
fairuz | salam | 11:56 |
fairuz | haloooo | 11:56 |
z3ro | hello everyone | 15:52 |
z3ro | can nayone help me | 15:52 |
z3ro | *anyone | 15:52 |
fairuz | yes? | 15:54 |
z3ro | i have create echo command.. | 15:55 |
z3ro | how to autorun that echo command in ubuntu | 15:56 |
fairuz | echo is already included in Ubuntu | 15:56 |
z3ro | ok2.. | 15:57 |
z3ro | let me story | 15:57 |
z3ro | i already install HIDS : ossec | 15:57 |
z3ro | then , i want to alert via sms | 15:58 |
z3ro | i use gnokii | 15:58 |
z3ro | and echo command | 15:58 |
z3ro | echo cat /var/logs/auht.log | gnokii --sendsms phone number | 15:59 |
z3ro | so, where i need to put that echo command | 15:59 |
z3ro | to be run automatic | 15:59 |
z3ro | everytime ossec produce that alert | 15:59 |
fairuz | Well I don't know ossec and gnokii, but maybe you can configure ossec to launch a bash script everytime there's an alert | 16:10 |
fairuz | so you can just your command in the bash script | 16:10 |
fairuz | *just put | 16:10 |
fairuz | Maybe you can get more answers by asking at #ubuntu | 16:11 |
z3ro | where can i put that bash script | 16:11 |
z3ro | in what direcory or file | 16:11 |
fairuz | I don't know if ossec can be configured to launch a bash script | 16:12 |
z3ro | i think, ossec can... | 16:13 |
z3ro | if i create that bash file... | 16:13 |
z3ro | where i need to put that file.. | 16:13 |
fairuz | OSSEC documentation don't mention that? | 16:14 |
z3ro | no | 16:14 |
fairuz | /var/ossec/active-response/bin maybe here? | 16:14 |
fairuz | http://www.ossec.net/doc/manual/ar/ar-custom.html | 16:14 |
fairuz | it's in the documentation........... | 16:14 |
z3ro | i will try | 16:15 |
z3ro | but i already try in home directory.. | 16:16 |
z3ro | i means .bashrc file | 16:16 |
z3ro | i put that echo command.. | 16:16 |
z3ro | but only alert every time i use su command | 16:16 |
fairuz | ?? | 16:19 |
fairuz | Hm it seems you don't have linux fundamentals | 16:19 |
fairuz | Did you read the manual? | 16:19 |
=== fairuz is now known as fairuz_away | ||
z3ro | @fairuz.. | 16:27 |
z3ro | TQ.. | 16:27 |
z3ro | u are my saviour | 16:27 |
fairuz_away | z3ro: it works? | 16:30 |
z3ro | yes.. | 16:31 |
=== fairuz_away is now known as fairuz_ | ||
z3ro | tQ bro | 16:31 |
fairuz_ | z3ro: np | 16:31 |
fairuz_ | z3ro: By the way, for more questions on ossec, #ossec is the best place. This is Ubuntu support channel =) | 16:32 |
z3ro | orait...TQ2 | 16:33 |
=== Katie-Offline is now known as KatieKitty | ||
=== KatieKitty is now known as Katie-Offline | ||
=== Katie-Offline is now known as KatieKitty | ||
=== KatieKitty is now known as Katie-Offline | ||
=== Katie-Offline is now known as KatieKitty | ||
* ejat pokes KatieKitty | 20:14 | |
ejat | how r ya | 20:14 |
KatieKitty | yo ejat | 20:15 |
KatieKitty | :) | 20:15 |
ejat | not sleep yet? | 20:15 |
KatieKitty | not yet | 20:15 |
KatieKitty | :) | 20:15 |
KatieKitty | doing something now | 20:16 |
KatieKitty | hehehe | 20:16 |
ejat | such as ? | 20:18 |
ejat | :p | 20:18 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!