I'm investigating a suspicious file on AIX but have not enough knowledge about the AIX patch environment.
My situation:
Why are both files not the same regarding date and size?
As far as I can see both system are running the same OS (level and patches).
What worries me is that other files in the bos.rte.security fileset are equal on both systems regarding date and size. So why is /usr/bin/shell different?
What is the AIX procedure to investigate this case?
Is there a way to find the patch/apar that contains /usr/bin/shell so I can found the date and size /usr/bin/shell should be?
I have a server setting at AIX 5300-06-03-0732 and one setting at AIX 5300-12-01-1016 and both came back with the same file size as your system #2. Also both file have the same cksum values. Since this is a executable (RISC System/6000) file it's kind of hard to do a diff, unless there is a command out there to diffs on this type of file.
Were both of these boxes installed in the same fashion? Just thinking maybe one was a migration and one was a fresh install from CD/DVD. I don't have a box that has a fresh install to compare. Just a thought.
Both systems were installed with the same method (NIM) but the base installation was not the same level.
Still wondering why thios one particular file was not update where all other files in bos.rte.security have dates matching the output of above lslpp command.
most likely this file is not updated ever by a ML/TL - so you keep what you had during base install of the OS - and when you installed different versions of the OS than you just have a slightly different version of this ?
Shell script logic
Hi
I have 2 input files like with file 1 content as (file1)
"BRGTEST-242" a.txt "BRGTEST-240" a.txt "BRGTEST-219" e.txt
File 2 contents as fle(2)
"BRGTEST-244" a.txt "BRGTEST-244" b.txt "BRGTEST-231" c.txt "BRGTEST-231" d.txt "BRGTEST-221" e.txt
I want to get... (22 Replies)
Hi,
I need to compare 2 text files with around 60000 rows and 1 column. I need to compare these and write the mismatch data to 3rd file.
File1 - file2 = file3
wc -l file1.txt
58112
wc -l file2.txt
55260
head -5 file1.txt
101214200123
101214700300
101250030067
101214100500... (10 Replies)
Hi Friends,
I'm a great fan of this forum... it has helped me tone my skills in shell scripting. I have a challenge here, which I'm sure you guys would help me in achieving...
File A has a list of job ids and I need to compare this with the File B (*.log) and File C (extend *.log) and copy... (6 Replies)
My company Unix guru enabled fortune in my .login (dot login?) file. When i asked him how he did it he told me to search my dot files for "suspicious" text.
He wants me to learn more about all of the dot files. (1 Reply)