Re: Periodic security find pruning

From: Eric Anderson (anderson_at_centtech.com)
Date: 03/28/05

  • Next message: John Sconiers: "code requirements / CVS server"
    Date: Mon, 28 Mar 2005 09:40:48 -0600
    To: Ulrich Spoerlein <q@uni.de>
    
    

    Ulrich Spoerlein wrote:
    > On Mon, 28.03.2005 at 09:06:08 -0600, Eric Anderson wrote:
    >
    >>+ MP=`mount -t ufs | egrep -v " no(suid|exec)" | awk '{ print $3 }' | egrep -v "($excludes)" | sort`
    >
    >
    > You need to consider boundaries. Having /vol, /vol1 and /vol2, setting
    > excludes to "vol" will result in ".*vol.*" being excluded. I would
    > suggest using full paths ("/vol") and this regexp: "^$(excludes)\$",
    > that way one can also exclude / by putting "/" into $excludes.

    Right you are! Good idea..

    Eric

    -- 
    ------------------------------------------------------------------------
    Eric Anderson        Sr. Systems Administrator        Centaur Technology
    I have seen the future and it is just like the present, only longer.
    ------------------------------------------------------------------------
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: John Sconiers: "code requirements / CVS server"