I want to write a shell script on Solaris 9 box
to scan a log file and obtain the user login
In short can any one help on writing a shell
script by which I could scan through a Log
files and grep for a particular string say
"AuthAttempt" and then obtain the suer details
related to that.
Usually the string looks like following in the
AuthAccept smps-uat [15/Apr/2009:12:12:20
1000] " CN=n071143,OU=Non User
app get /SiebelC
Where CN=n071143 is the user. How do i
obtain this value of user. The fixed string in the
logs is AuthAttempt but the suer keeps on
Any help please.