diff options
author | rich <rich@FreeBSD.org> | 1993-12-15 06:42:01 +0000 |
---|---|---|
committer | rich <rich@FreeBSD.org> | 1993-12-15 06:42:01 +0000 |
commit | 8183c469073548e3c2e4d67d052ee27f79e2f4ec (patch) | |
tree | 531b5659a0ab69ac6e09796f3e055976637911b0 /etc/security | |
parent | ca3921c30f271d493dabd5d11614dfa611dcbba5 (diff) | |
download | FreeBSD-src-8183c469073548e3c2e4d67d052ee27f79e2f4ec.zip FreeBSD-src-8183c469073548e3c2e4d67d052ee27f79e2f4ec.tar.gz |
When listing all suid and sgid files list the file itself rather than
directorty contents.
Diffstat (limited to 'etc/security')
-rw-r--r-- | etc/security | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/security b/etc/security index 41a0931..1e9eda6 100644 --- a/etc/security +++ b/etc/security @@ -1,7 +1,7 @@ #!/bin/sh - # # @(#)security 5.3 (Berkeley) 5/28/91 -# $Id: security,v 1.3 1993/09/06 23:12:04 rgrimes Exp $ +# $Id: security,v 1.4 1993/10/25 20:13:16 rgrimes Exp $ # PATH=/sbin:/bin:/usr/bin @@ -21,7 +21,7 @@ echo "checking setuid files and devices:" # MP=`mount -t ufs | sed 's;/dev/;&r;' | awk '{ print $3 }'` set $MP -ls -lgT `while test $# -ge 1; do +ls -dlgT `while test $# -ge 1; do mount=$1 shift find $mount -xdev -perm -u+s -or -perm -g+s | sort |