Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Feb 1997 20:24:11 -0800 (PST)
From:      faried nawaz <fn@kuoi.asui.uidaho.edu>
To:        hackers@freebsd.org
Subject:   /etc/security change (was Re: disabling setuid sh/csh)
Message-ID:  <Pine.BSF.3.95.970224201318.11208C-100000@kuoi.asui.uidaho.edu>
In-Reply-To: <199702242120.OAA25018@phaeton.artisoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 24 Feb 1997, Terry Lambert wrote:

$ What's harder is hacked /usr/bin/passwd, /usr/bin/login, /sbin/init,
$ /usr/libexec/telnetd, /usr/libexec/rlogind, etc. with the date set
$ back.

This reminds me -- /etc/security currently does

[...]
        find $mount -xdev -type f \
                \( -perm -u+x -or -perm -g+x -or -perm -o+x \) \
                \( -perm -u+s -or -perm -g+s \)  -print0
done | xargs -0 -n 20 ls -lgTd | sort +9 > $TMP
[...]


How about changing the arguments of ls to "lcTd"?

"-g" is obsolete and probably should be removed, too.


faried.
-- 
faried nawaz
box 3582, moscow id 83843-1914





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.970224201318.11208C-100000>