critical impact:
cksum - checksum difference (CrCh346)
Problem description
The cksum command calculates different checksums on Tru64 UNIX and
HP-UX by default.
On Tru64 UNIX, the cksum command uses a nonstandard checksum
algorithm by default, and it uses the standard algorithm when the CMD_ENV
environment variable is set to xpg4. On HP-UX, the command always
uses the standard algorithm. Identifiers
 cksum |
|
|
|
|
|
|
See also
Solution description
To calculate the same checksums on Tru64 UNIX and HP-UX, run cksum on
Tru64 UNIX with the CMD_ENV environment variable set to xpg4.
Note that setting CMD_ENV to xpg4 also affects some other commands
on Tru64 UNIX: df, ipcs, and od. The setting changes some of their
output from traditional to standard format. Just as with cksum, the
setting makes the commands more compatible with the ones found on HP-UX. See also
Problem summary
| classifications |
source types |
OS release |
severity |
type |
| CMD |
Make, Script |
any HP-UX 11i version |
critical |
changed |
|