General discussion

Locked

Solaris patches

By shivabasu ·
How to find what are security patches are applied on sun Solaris.

This conversation is currently closed to new comments.

13 total posts (Page 1 of 2)   01 | 02   Next
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Solaris patches

by jerry.lavelle In reply to Solaris patches

showrev -p

gives info on all patches installed...

Collapse -

Solaris patches

by shivabasu In reply to Solaris patches

The question was auto-closed by TechRepublic

Collapse -

Solaris patches

by wstorm In reply to Solaris patches

You might want to enhance the showrev command by using grep. First get a current list of security patches from Sun. Place the list of security patches in file. Run the following command sequence:

showrev -p | /usr/xpg4/bin/grep -f secpatch

secpatch is the filename of the security patches for this example. You can even redirect the output to a file to compare with the original, then you can find which patches aren't loaded.

Collapse -

Solaris patches

by shivabasu In reply to Solaris patches

The question was auto-closed by TechRepublic

Collapse -

Solaris patches

by coily2 In reply to Solaris patches

To add to answer number 2, I usually throw an awk command in there as well. I look up my patch info by number, and just grepping for a patch number, 105181-05 for instance, will pull up several entries, since other patches are dependent on it.

showrev -p | nawk '{print $2} | grep 105181 is the syntax I use.

Hope this helps.

Collapse -

Solaris patches

by shivabasu In reply to Solaris patches

The question was auto-closed by TechRepublic

Collapse -

Solaris patches

by lurid In reply to Solaris patches

you can also use the utility patchdiag provided by sun @ sunsolve.sun.com this utility will show you the current rev of security and recomended patches compared to what you have on your system.

Collapse -

Solaris patches

by shivabasu In reply to Solaris patches

The question was auto-closed by TechRepublic

Collapse -

Solaris patches

by manas In reply to Solaris patches

To get right list of security patches what are installed in your system, you may follow this. Get the full list of security patches required for Solaris 2.6 from sunsolve.sun.com. Keep all those file names ( e.g. 105234-04 ) in a directory. Then execute this :
# for i in `ls -1`
do
showrev -p | grep $i
if [ $? = 0 ]
echo "$i exists" > /tmp/security_patches.lst
fi
done

You will get the list of security patches in your system in /tmp/security_patches.lst.

Hope it will help you.

Collapse -

Solaris patches

by shivabasu In reply to Solaris patches

The question was auto-closed by TechRepublic

Back to Linux Forum
13 total posts (Page 1 of 2)   01 | 02   Next

Operating Systems Forums