|« Where is the sudoers file on Solaris 10||Association between MAC address and ethernet interface name »|
Solaris 10 md5 sum checking
md5sum is available in the Solaris 10 companion CD. But if you don’t have the
SFWcoreu package installed, you can still verify/calculate md5 sum using the following:
digest -a md5 -v /path/to/file
There is still no guarantee that the digest utility is included in your Solaris 10 installation.
We have several Solaris 10 boxes in our lab and none have the digest command or the md5sum utility.
The digest utility belongs to the SUNWcsu package… It should then be available as this package is given to be “Core Solaris, (Usr)"…
Here below, the command to know what package a file belongs to:
root@sol10:~# /usr/sbin/pkgchk -l -p /usr/bin/digest
Type: regular file
Expected mode: 0555
Expected owner: root
Expected group: bin
Expected file size (bytes): 19028
Expected sum(1) of contents: 54133
Expected last modification: Aug 16 19:22:57 2007
Referenced by the following packages:
Current status: installed
it worked..thanks you so much!!!
The digest command worked for me. Thanks!
Thanks. It was very helpful!
Great command, can be used with wildcards to check multiple files and sub directories too.
Thank you for the info. As an FYI, this worked on the Solaris box I was using:
gst-md5sum filesrc location=filename.dat
It printed a couple of warnings but produced an md5sum in the end.
Thanks! `openssl md5` can be used in the same way btw.