PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > comp.unix.shell > Finding out if a script has been modified
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.unix.shell Using and programming the Unix shell.

Finding out if a script has been modified

Réponse
 
LinkBack Outils de la discussion
Vieux 28/08/2007, 14h28   #1
Helma
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Finding out if a script has been modified

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.

  Réponse avec citation
Vieux 28/08/2007, 15h06   #2
jellybean stonerfish
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Finding out if a script has been modified

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
  Réponse avec citation
Vieux 28/08/2007, 15h06   #3
jellybean stonerfish
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Finding out if a script has been modified

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
  Réponse avec citation
Vieux 28/08/2007, 15h07   #4
Scott McMillan
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Finding out if a script has been modified

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
  Réponse avec citation
Vieux 28/08/2007, 15h07   #5
Scott McMillan
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Finding out if a script has been modified

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
  Réponse avec citation
Vieux 28/08/2007, 15h14   #6
Helma
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Finding out if a script has been modified

thanks for the answers - i'll see if i can use this.

how this s me? Uhm... perhaps as a warranty seal ;-)

H.

  Réponse avec citation
Vieux 28/08/2007, 19h26   #7
Maxwell Lol
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Finding out if a script has been modified

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.
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 05h29.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12923 seconds with 15 queries