|
|
|
|
||||||
| comp.unix.shell Using and programming the Unix shell. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hello *,
I would like to find out if anyone has modified a script on one of the Linux servers i administer. Is there a command that creates a sort of hash, a sort of CRC number or equivalent of a shellscript? (I know that these questions should be properly addressed with a version control tool, but this isn't feasable in my situation.) TIA, Helma. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Tue, 28 Aug 2007 06:28:55 -0700, Helma wrote:
> Hello *, > > I would like to find out if anyone has modified a script on one of the > Linux servers i administer. Is there a command that creates a sort of > hash, a sort of CRC number or equivalent of a shellscript? > > (I know that these questions should be properly addressed with a > version control tool, but this isn't feasable in my situation.) > > TIA, > Helma. md5sum shellscript stonerfish |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
On Tue, 28 Aug 2007 06:28:55 -0700, Helma wrote:
> Hello *, > > I would like to find out if anyone has modified a script on one of the > Linux servers i administer. Is there a command that creates a sort of > hash, a sort of CRC number or equivalent of a shellscript? > > (I know that these questions should be properly addressed with a > version control tool, but this isn't feasable in my situation.) > > TIA, > Helma. md5sum shellscript stonerfish |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
On Tue, 28 Aug 2007 06:28:55 -0700, Helma <helma.vinke@hotmail.com>
wrote: >Hello *, > >I would like to find out if anyone has modified a script on one of the >Linux servers i administer. Is there a command that creates a sort of >hash, a sort of CRC number or equivalent of a shellscript? > >(I know that these questions should be properly addressed with a >version control tool, but this isn't feasable in my situation.) > >TIA, >Helma. I think sum is what you are looking for - man sum. Although I don't know how you would use this after the fact, if you don't have original scripts/sums to compare against... Scott McMillan |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
On Tue, 28 Aug 2007 06:28:55 -0700, Helma <helma.vinke@hotmail.com>
wrote: >Hello *, > >I would like to find out if anyone has modified a script on one of the >Linux servers i administer. Is there a command that creates a sort of >hash, a sort of CRC number or equivalent of a shellscript? > >(I know that these questions should be properly addressed with a >version control tool, but this isn't feasable in my situation.) > >TIA, >Helma. I think sum is what you are looking for - man sum. Although I don't know how you would use this after the fact, if you don't have original scripts/sums to compare against... Scott McMillan |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
thanks for the answers - i'll see if i can use this.
how this s me? Uhm... perhaps as a warranty seal ;-) H. |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
Scott McMillan <smcmillan@twmi.rr.com> writes:
> >I would like to find out if anyone has modified a script on one of the > >Linux servers i administer. Is there a command that creates a sort of > >hash, a sort of CRC number or equivalent of a shellscript? > I think sum is what you are looking for - man sum. sum can be faked. Use md5sum. That uses a cryptograpic hash mechanism. EXTREMLY hard to fake md5sum. |
|
![]() |
| Outils de la discussion | |
|
|