General discussion
-
CreatorTopic
-
December 2, 1999 at 3:49 am #2080014
Solaris patches
Lockedby shivabasu · about 23 years, 4 months ago
How to find what are security patches are applied on sun Solaris.
Topic is locked -
CreatorTopic
All Comments
-
AuthorReplies
-
-
December 3, 1999 at 9:34 am #3903532
Solaris patches
by jerry.lavelle · about 23 years, 4 months ago
In reply to Solaris patches
showrev -p
gives info on all patches installed…
-
September 20, 2000 at 7:02 pm #3792757
Solaris patches
by shivabasu · about 22 years, 6 months ago
In reply to Solaris patches
The question was auto-closed by TechRepublic
-
-
December 10, 1999 at 4:38 am #3903384
Solaris patches
by wstorm · about 23 years, 3 months ago
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.
-
September 20, 2000 at 7:02 pm #3792758
Solaris patches
by shivabasu · about 22 years, 6 months ago
In reply to Solaris patches
The question was auto-closed by TechRepublic
-
-
December 21, 1999 at 2:08 am #3900319
Solaris patches
by coily2 · about 23 years, 3 months ago
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.
-
September 20, 2000 at 7:02 pm #3792759
Solaris patches
by shivabasu · about 22 years, 6 months ago
In reply to Solaris patches
The question was auto-closed by TechRepublic
-
-
January 26, 2000 at 4:59 am #3897075
Solaris patches
by lurid · about 23 years, 2 months ago
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.
-
September 20, 2000 at 7:02 pm #3792760
Solaris patches
by shivabasu · about 22 years, 6 months ago
In reply to Solaris patches
The question was auto-closed by TechRepublic
-
-
March 28, 2000 at 3:17 pm #3896499
Solaris patches
by manas · about 23 years ago
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
doneYou will get the list of security patches in your system in /tmp/security_patches.lst.
Hope it will help you.
-
September 20, 2000 at 7:02 pm #3792761
Solaris patches
by shivabasu · about 22 years, 6 months ago
In reply to Solaris patches
The question was auto-closed by TechRepublic
-
-
April 6, 2000 at 9:05 am #3896791
Solaris patches
by insatiable · about 22 years, 12 months ago
In reply to Solaris patches
http://sunsolve.Sun.COM/ has a tool that you can download called PatchDiag.
It’s easy to install and the instructions are included. Each week you can download what is called the patchdiag.xref file (cross reference) that compares what you have installed on your system, with what is new and recommended for y2k and security.
The patchdiag.xref file takes under a minute to download, you copy it to the location that your patchdiag executable looks for and run it. It’s a quick, easy report to read.
From there, you download the patches that is lists you as needing.
I’m not sure if you can get the patchdiag tool from anywhere else, but I’m sure it’s out there. There are also scripts that will automate the download of the patchdiag.xref file, but I haven’t automated mine (yet)
Good luck
-
September 20, 2000 at 7:02 pm #3792762
Solaris patches
by shivabasu · about 22 years, 6 months ago
In reply to Solaris patches
The question was auto-closed by TechRepublic
-
-
September 20, 2000 at 7:02 pm #3792756
Solaris patches
by shivabasu · about 22 years, 6 months ago
In reply to Solaris patches
This question was auto closed due to inactivity
-
-
AuthorReplies