Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Oct 1999 13:24:16 +0200 (CEST)
From:      Zahemszky Gabor <zgabor@CoDe.hu>
To:        freebsd-security@freebsd.org
Cc:        matrix@gerpa.ru
Subject:   Re: file security utility
Message-ID:  <199910251124.NAA00482@CoDe.hu>
In-Reply-To: <001b01bf1e10$20288660$0100a8c0@m1> from Artem Koutchine at "Oct 24, 99 03:08:27 pm"

index | next in thread | previous in thread | raw e-mail

> I don't know is such utility already exists so here is
> what i need it to do:
> 1) Check files using filters and all specified filesystems for
> change in size/date/time/mode/owner/name change
> 2) Files/Dirs/Filesystems must be groupped into several types and for
> each type must be specified allowed (not dangerous)
> modifications (chmod and mask, owner and list of possible
> owners, size and range for size, name change and regexp for
> name, access and time range for possible access and so on,
> deletion)
> 3) Only for those files/dirs/filesystems which have been
> changes in a dangerous manner (not described as allowed)
> a report is generated. Or, at least, they are put first, so i don't
> have to look through a long list of modified files.
> 
> Is there such utility ? If not I'll do it (i hope), because i really need it.

1) tripwire
2) home-made script(s) with the unknown FreeBSD mtree(8) command

ZGabor at CoDe dot HU

-- 
#!/bin/ksh
Z='21N16I25C25E30, 40M30E33E25T15U!' ;IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';set $Z ;for i { [[ $i = ? ]]&&print $i&&break;[[ $i = ??? ]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set $Z;X=;for i { [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;X="$X $i";typeset +l i;};print "$X"


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message



help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910251124.NAA00482>