Jump to content

Unix Pillalu.. Okasari Ikakda Soodandi..


Recommended Posts

Posted

okasaari ikkada soodandi..



On the server <server name> find all failed ssh sessions on sever <server name> in the month of May 2011.
The logs are stored in the directory /var/tmp/store and there will be a directory for each of the individual unix hosts which forward their logs.

Provide a list of user and their ip addresses only. Email result back from <server name>

Posted

Olllaya okkalllu kuda leraa mee daaggara...

Posted

input and expected output unte cheppu OM baa. I will help u.

Posted

[quote name='thalaiva' timestamp='1344031609' post='1302254076']
input and expected output unte cheppu OM baa. I will help u.
[/quote]


[b]Input[/b] Server Logs....@ location /var/tmp/store directory for each Unix Host...

[b]Output:[/b] Number of failed SSH connecitons for each Host in May 2011..list shud have only username and IP...

Posted

idhi try cheyu mama okasari ..

grep[color=#000000] [/color]"authentication failure"[color=#000000] (/var/log/secure- mi path) | [/color]awk[color=#000000] [/color]'{ print $13 }'[color=#000000] | [/color]cut[color=#000000] -b7- | [/color]sort[color=#000000] | [/color]uniq[color=#000000] -c[/color]

[color=#000000]leka pothe emana okasari oka china ouptput paste cheyu..try chedam[/color]

Posted

[quote name='rahul24r' timestamp='1344032487' post='1302254126']
idhi try cheyu mama okasari ..

grep[color=#000000] [/color]"authentication failure"[color=#000000] (/var/log/secure- mi path) | [/color]awk[color=#000000] [/color]'{ print $13 }'[color=#000000] | [/color]cut[color=#000000] -b7- | [/color]sort[color=#000000] | [/color]uniq[color=#000000] -c[/color]

[color=#000000]leka pothe emana okasari oka china ouptput paste cheyu..try chedam[/color]
[/quote]


ok baa. will asak him to give a try..

thankyou for the input..

Posted

[img]http://www.gifsoup.com/view2/1906073/tanks-o.gif[/img]

Posted

[quote name='PMR aka OM' timestamp='1344029929' post='1302253912']
okasaari ikkada soodandi..



On the server <server name> find all failed ssh sessions on sever <server name> in the month of May 2011.
The logs are stored in the directory /var/tmp/store and there will be a directory for each of the individual unix hosts which forward their logs.

Provide a list of user and their ip addresses only. Email result back from <server name>
[/quote]qochen endi reddy saab

Posted

[quote name='k2s' timestamp='1344034964' post='1302254323']
qochen endi reddy saab
[/quote]



[quote name='ChittiNaidu' timestamp='1344031716' post='1302254088']



[b]Input[/b] Server Logs....@ location /var/tmp/store directory for each Unix Host...

[b]Output:[/b] Number of failed SSH connecitons for each Host in May 2011..list shud have only username and IP...
[/quote]

×
×
  • Create New...