Date: Wed, 30 Oct 1996 18:31:05 -0600 (CST) From: igor@alecto.physics.uiuc.edu (Igor Roshchin) To: clary@elec.uq.edu.au (Clary Harridge) Cc: freebsd-security@freebsd.org Subject: Re: /etc/security Message-ID: <199610310031.SAA18957@alecto.physics.uiuc.edu> In-Reply-To: <199610302332.JAA21364@s5.elec.uq.edu.au> from "Clary Harridge" at Oct 31, 96 09:32:18 am
next in thread | previous in thread | raw e-mail | index | archive | help
I think, this is a nice feature
(unless, of coarse, you have to be dealing with Windows.)
It's nice to have an alert, that somebody created
a file with the name which is most probably should not exist on
a Unix box.
Thus, this suggestion should not be implemented, but should really be an
option to choose, if one needs.
Using this opportunity want to mention a small bug related to
/etc/daily.
I noticed this an year ago. Once an year you will not receive
you daily report. Because the default time is 2:00,
/etc/daily never runs on the day when we have a change of date
in spring, or runs twice in autumn. (or something like that, I
forgot the details)
Thus, I think it would be wise to change it to 0:45, for example.
Regards,
IgoR
aka StR
* * * * * * * * * *
Igor Roshchin
Physics Department e-mail: igor@uiuc.edu
University of Illinois FAX : (217) 333-9819
at Urbana-Champaign Phone : (217) 333-6088 (off)
1110 West Green Street Phone : (217) 328-2013 (home)
Urbana, IL, 61801, USA http://www.physics.uiuc.edu/~igor
* * * * * * * * * *
>
> A suggestion for /etc/security
>
> The current version falls over when checking for suid / sgid files
> when the file names contain spaces. These file names are generated
> by win95 when your FreeBSD host runs as a samba server.
> Any such suid files just get dropped by the find but give errors.
>
> You get lots of errors like
>
> find: /u1/staff/matt/Mail/ GPutland: illegal path
> find: /u1/staff/matt/Mail/ Email: illegal path
>
> I would suggest
> REPLACING
> ================================================================
> while test $# -ge 1; do
> mount=$1
> shift
> find -X $mount -xdev -type f \
> \( -perm -u+x -or -perm -g+x -or -perm -o+x \) \
> \( -perm -u+s -or -perm -g+s \) | sort
> done | xargs -n 20 ls -lgTd > $TMP
> ================================================================
> WITH
> ================================================================
> find $mount -xdev -type f \
> \( -perm -u+x -or -perm -g+x -or -perm -o+x \) \
> \( -perm -u+s -or -perm -g+s \) -a -exec ls -lgTd {} ";"
> done > $TMP
> ================================================================
>
> --
> regards Dept. of Electrical Engineering,
> Clary Harridge University of Queensland, QLD, Australia, 4072
> Phone: +61-7-3365-3636 Fax: +61-7-3365-4999
> INTERNET: clary@elec.uq.edu.au
>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610310031.SAA18957>
