Subject: setuid files
To: netbsd-help <netbsd-help@netbsd.org>
From: Daniel Eggert <eggert@macvaerk.dtu.dk>
List: netbsd-help
Date: 04/24/2003 13:25:17
I got this in my daily output. Should I worry? What's the deal with
setuid for these binaries?
Thanks,
Daniel
Checking setuid files and devices:
Setuid changes:
-r-xr-sr-x 1 root operator 89120 Sep 8 21:55:53 2002 /bin/df
-r-xr-sr-x 1 root operator 89156 Apr 23 06:25:35 2003 /bin/df
-r-sr-xr-x 1 root wheel 364264 Sep 8 21:55:54 2002
/bin/rcmd
-r-sr-xr-x 1 root wheel 366740 Apr 23 06:25:56 2003
/bin/rcmd
-r-xr-sr-x 1 root kmem 155248 Sep 8 21:56:05 2002
/sbin/ccdconfig
-r-xr-sr-x 1 root kmem 155320 Apr 23 06:27:55 2003
/sbin/ccdconfig
-r-xr-sr-x 2 root tty 436376 Sep 8 21:56:14 2002
/sbin/dump
-r-xr-sr-x 2 root tty 438860 Apr 23 06:28:56 2003
/sbin/dump
-r-xr-sr-x 2 root tty 437768 Sep 8 21:56:15 2002
/sbin/dump_lfs
-r-xr-sr-x 2 root tty 440256 Apr 23 06:29:05 2003
/sbin/dump_lfs
-r-sr-xr-x 1 root wheel 316064 Sep 8 21:56:10 2002
/sbin/ping
-r-sr-xr-x 1 root wheel 318536 Apr 23 06:28:24 2003
/sbin/ping
-r-sr-xr-x 1 root wheel 328892 Sep 8 21:56:16 2002
/sbin/ping6
-r-sr-xr-x 1 root wheel 331380 Apr 23 06:29:13 2003
/sbin/ping6
-r-xr-sr-x 2 root tty 436376 Sep 8 21:56:14 2002
/sbin/rdump
-r-xr-sr-x 2 root tty 438860 Apr 23 06:28:56 2003
/sbin/rdump
-r-xr-sr-x 2 root tty 437768 Sep 8 21:56:15 2002
/sbin/rdump_lfs
-r-xr-sr-x 2 root tty 440256 Apr 23 06:29:05 2003
/sbin/rdump_lfs
-r-sr-xr-- 1 root operator 340436 Sep 8 21:56:13 2002
/sbin/shutdown
-r-sr-xr-- 1 root operator 342912 Apr 23 06:28:38 2003
/sbin/shutdown
-r-sr-xr-x 4 root wheel 23876 Sep 8 21:56:16 2002
/usr/bin/at
-r-sr-xr-x 4 root wheel 23876 Apr 23 06:29:21 2003
/usr/bin/at
-r-sr-xr-x 4 root wheel 23876 Sep 8 21:56:16 2002
/usr/bin/atq
-r-sr-xr-x 4 root wheel 23876 Apr 23 06:29:21 2003
/usr/bin/atq
-r-sr-xr-x 4 root wheel 23876 Sep 8 21:56:16 2002
/usr/bin/atrm
-r-sr-xr-x 4 root wheel 23876 Apr 23 06:29:21 2003
/usr/bin/atrm
-r-sr-xr-x 4 root wheel 23876 Sep 8 21:56:16 2002
/usr/bin/batch
-r-sr-xr-x 4 root wheel 23876 Apr 23 06:29:21 2003
/usr/bin/batch
-r-sr-xr-x 3 root wheel 22584 Sep 8 21:56:18 2002
/usr/bin/chfn
-r-sr-xr-x 3 root wheel 22584 Apr 23 06:29:39 2003
/usr/bin/chfn
-r-sr-xr-x 3 root wheel 22584 Sep 8 21:56:18 2002
/usr/bin/chpass
-r-sr-xr-x 3 root wheel 22584 Apr 23 06:29:39 2003
/usr/bin/chpass
-r-sr-xr-x 3 root wheel 22584 Sep 8 21:56:18 2002
/usr/bin/chsh
-r-sr-xr-x 3 root wheel 22584 Apr 23 06:29:39 2003
/usr/bin/chsh
-r-sr-xr-x 1 root wheel 28004 Sep 8 21:56:19 2002
/usr/bin/crontab
-r-sr-xr-x 1 root wheel 28004 Apr 23 06:29:50 2003
/usr/bin/crontab
-r-sr-xr-x 1 uucp wheel 141060 Sep 8 21:55:06 2002
/usr/bin/cu
-r-sr-xr-x 1 uucp wheel 141060 Apr 23 06:17:39 2003
/usr/bin/cu
-r-xr-sr-x 1 root kmem 18240 Sep 8 21:56:21 2002
/usr/bin/fstat
-r-xr-sr-x 1 root kmem 18240 Apr 23 06:30:12 2003
/usr/bin/fstat
-r-sr-xr-x 1 root wheel 9236 Sep 8 21:56:24 2002
/usr/bin/lock
-r-sr-xr-x 1 root wheel 9236 Apr 23 06:30:45 2003
/usr/bin/lock
-r-sr-xr-x 1 root wheel 28660 Sep 8 21:56:25 2002
/usr/bin/login
-r-sr-xr-x 1 root wheel 28660 Apr 23 06:30:47 2003
/usr/bin/login
-r-sr-sr-x 1 root daemon 20536 Sep 8 21:57:08 2002
/usr/bin/lpq
-r-sr-sr-x 1 root daemon 20536 Apr 23 06:36:33 2003
/usr/bin/lpq
-r-sr-sr-x 1 root daemon 22968 Sep 8 21:57:08 2002
/usr/bin/lpr
-r-sr-sr-x 1 root daemon 22968 Apr 23 06:36:34 2003
/usr/bin/lpr
-r-sr-sr-x 1 root daemon 25408 Sep 8 21:57:08 2002
/usr/bin/lprm
-r-sr-sr-x 1 root daemon 25408 Apr 23 06:36:35 2003
/usr/bin/lprm
-r-xr-sr-x 1 root kmem 7236 Sep 8 21:56:27 2002
/usr/bin/modstat
-r-xr-sr-x 1 root kmem 7236 Apr 23 06:31:07 2003
/usr/bin/modstat
-r-xr-sr-x 1 root kmem 118544 Sep 8 21:56:27 2002
/usr/bin/netstat
-r-xr-sr-x 1 root kmem 118544 Apr 23 06:31:12 2003
/usr/bin/netstat
-r-sr-xr-x 2 root wheel 20512 Sep 8 21:56:28 2002
/usr/bin/passwd
-r-sr-xr-x 2 root wheel 20512 Apr 23 06:31:18 2003
/usr/bin/passwd
-r-sr-xr-x 1 root wheel 13812 Sep 8 21:56:29 2002
/usr/bin/rlogin
-r-sr-xr-x 1 root wheel 13812 Apr 23 06:31:31 2003
/usr/bin/rlogin
-r-sr-xr-x 1 root wheel 6164 Sep 8 21:56:39 2002
/usr/bin/skeyinfo
-r-sr-xr-x 1 root wheel 6164 Apr 23 06:33:01 2003
/usr/bin/skeyinfo
-r-sr-xr-x 1 root wheel 12264 Sep 8 21:56:39 2002
/usr/bin/skeyinit
-r-sr-xr-x 1 root wheel 12264 Apr 23 06:33:02 2003
/usr/bin/skeyinit
-r-sr-xr-x 1 root wheel 18036 Sep 8 21:56:31 2002
/usr/bin/su
-r-sr-xr-x 1 root wheel 18036 Apr 23 06:31:48 2003
/usr/bin/su
-r-xr-sr-x 2 root kmem 90432 Sep 8 21:56:31 2002
/usr/bin/sysstat
-r-xr-sr-x 2 root kmem 90432 Apr 23 06:31:49 2003
/usr/bin/sysstat
-r-xr-sr-x 2 root kmem 90432 Sep 8 21:56:31 2002
/usr/bin/systat
-r-xr-sr-x 2 root kmem 90432 Apr 23 06:31:49 2003
/usr/bin/systat
-r-sr-xr-- 1 uucp dialer 56144 Sep 8 21:56:32 2002
/usr/bin/tip
-r-sr-xr-- 1 uucp dialer 56144 Apr 23 06:31:57 2003
/usr/bin/tip
-r-sr-xr-x 1 uucp wheel 101420 Sep 8 21:55:07 2002
/usr/bin/uucp
-r-sr-xr-x 1 uucp wheel 101420 Apr 23 06:17:50 2003
/usr/bin/uucp
-r-sr-xr-x 1 uucp wheel 43676 Sep 8 21:55:07 2002
/usr/bin/uuname
-r-sr-xr-x 1 uucp wheel 43676 Apr 23 06:17:55 2003
/usr/bin/uuname
-r-sr-xr-x 1 uucp wheel 111440 Sep 8 21:55:08 2002
/usr/bin/uustat
-r-sr-xr-x 1 uucp wheel 111440 Apr 23 06:18:02 2003
/usr/bin/uustat
-r-sr-xr-x 1 uucp wheel 101044 Sep 8 21:55:09 2002
/usr/bin/uux
-r-sr-xr-x 1 uucp wheel 101044 Apr 23 06:18:07 2003
/usr/bin/uux
-r-xr-sr-x 1 root kmem 38060 Sep 8 21:56:36 2002
/usr/bin/vmstat
-r-xr-sr-x 1 root kmem 38112 Apr 23 06:32:32 2003
/usr/bin/vmstat
-r-xr-sr-x 1 root tty 9020 Sep 8 21:56:36 2002
/usr/bin/wall
-r-xr-sr-x 1 root tty 9020 Apr 23 06:32:35 2003
/usr/bin/wall
-r-xr-sr-x 1 root tty 9596 Sep 8 21:56:37 2002
/usr/bin/write
-r-xr-sr-x 1 root tty 9596 Apr 23 06:32:43 2003
/usr/bin/write
-r-sr-xr-x 2 root wheel 20512 Sep 8 21:56:28 2002
/usr/bin/yppasswd
-r-sr-xr-x 2 root wheel 20512 Apr 23 06:31:18 2003
/usr/bin/yppasswd
-r-xr-sr-x 1 root games 45368 Sep 9 10:21:00 2002
/usr/games/atc
-r-xr-sr-x 1 root games 45368 Apr 23 06:26:09 2003
/usr/games/atc
-r-xr-sr-x 1 root games 186916 Sep 9 10:21:01 2002
/usr/games/battlestar
-r-xr-sr-x 1 root games 186916 Apr 23 06:26:17 2003
/usr/games/battlestar
-r-xr-sr-x 1 root games 26600 Sep 9 10:21:05 2002
/usr/games/canfield
-r-xr-sr-x 1 root games 26600 Apr 23 06:26:24 2003
/usr/games/canfield
-r-xr-sr-x 1 root games 32280 Sep 9 10:21:05 2002
/usr/games/cribbage
-r-xr-sr-x 1 root games 32280 Apr 23 06:26:26 2003
/usr/games/cribbage
-r-xr-sr-x 1 root games 9184 Sep 9 10:21:05 2002
/usr/games/dm
-r-xr-sr-x 1 root games 9184 Apr 23 06:26:27 2003
/usr/games/dm
-r-xr-sr-x 1 root games 251748 Sep 9 10:21:06 2002
/usr/games/hack
-r-xr-sr-x 1 root games 251748 Apr 23 06:26:40 2003
/usr/games/hack
-r-xr-sr-x 1 root games 156108 Sep 9 10:21:06 2002
/usr/games/larn
-r-xr-sr-x 1 root games 156108 Apr 23 06:26:44 2003
/usr/games/larn
-r-xr-sr-x 1 root games 75260 Sep 9 10:21:07 2002
/usr/games/phantasia
-r-xr-sr-x 1 root games 75260 Apr 23 06:26:49 2003
/usr/games/phantasia
-r-xr-sr-x 1 root games 22140 Sep 9 10:21:08 2002
/usr/games/robots
-r-xr-sr-x 1 root games 22140 Apr 23 06:27:01 2003
/usr/games/robots
-r-xr-sr-x 1 root games 115356 Sep 9 10:21:08 2002
/usr/games/rogue
-r-xr-sr-x 1 root games 118028 Apr 23 06:27:03 2003
/usr/games/rogue
-r-xr-sr-x 1 root games 77744 Sep 9 10:21:08 2002
/usr/games/sail
-r-xr-sr-x 1 root games 77744 Apr 23 06:27:04 2003
/usr/games/sail
-r-xr-sr-x 1 root games 18648 Sep 9 10:21:08 2002
/usr/games/snake
-r-xr-sr-x 1 root games 18648 Apr 23 06:27:05 2003
/usr/games/snake
-r-xr-sr-x 1 root games 20008 Sep 9 10:21:08 2002
/usr/games/tetris
-r-xr-sr-x 1 root games 20008 Apr 23 06:27:06 2003
/usr/games/tetris
-r-sr-xr-x 1 root wheel 10340 Sep 8 21:56:03 2002
/usr/libexec/mail.local
-r-sr-xr-x 1 root wheel 10340 Apr 23 06:27:31 2003
/usr/libexec/mail.local
-r-sr-xr-x 1 root wheel 440212 Sep 8 21:55:49 2002
/usr/libexec/sendmail/sendmail
-r-sr-xr-x 1 root wheel 441384 Apr 23 06:24:55 2003
/usr/libexec/sendmail/sendmail
-r-sr-xr-x 1 root wheel 176844 Sep 8 21:56:42 2002
/usr/libexec/ssh-keysign
-r-sr-xr-x 1 root wheel 176828 Apr 23 06:33:24 2003
/usr/libexec/ssh-keysign
-r-sr-xr-x 1 uucp wheel 255304 Sep 8 21:55:06 2002
/usr/libexec/uucp/uucico
-r-sr-xr-x 1 uucp wheel 255304 Apr 23 06:17:45 2003
/usr/libexec/uucp/uucico
-r-sr-xr-x 1 uucp wheel 113992 Sep 8 21:55:09 2002
/usr/libexec/uucp/uuxqt
-r-sr-xr-x 1 uucp wheel 113992 Apr 23 06:18:10 2003
/usr/libexec/uucp/uuxqt
-r-xr-sr-x 1 root daemon 30636 Sep 8 21:57:07 2002
/usr/sbin/lpc
-r-xr-sr-x 1 root daemon 30636 Apr 23 06:36:30 2003
/usr/sbin/lpc
-r-sr-xr-x 1 root wheel 18928 Sep 8 21:57:11 2002
/usr/sbin/mrinfo
-r-sr-xr-x 1 root wheel 18824 Apr 23 06:22:29 2003
/usr/sbin/mrinfo
-r-sr-xr-x 1 root wheel 31320 Sep 8 21:57:11 2002
/usr/sbin/mtrace
-r-sr-xr-x 1 root wheel 31252 Apr 23 06:22:31 2003
/usr/sbin/mtrace
-r-xr-sr-x 1 root maildrop 93252 Sep 8 21:55:42 2002
/usr/sbin/postdrop
-r-xr-sr-x 1 root maildrop 93252 Apr 23 06:23:53 2003
/usr/sbin/postdrop
-r-xr-sr-x 1 root maildrop 82412 Sep 8 21:55:44 2002
/usr/sbin/postqueue
-r-xr-sr-x 1 root maildrop 82412 Apr 23 06:24:10 2003
/usr/sbin/postqueue
-r-sr-xr-x 1 root wheel 174948 Sep 8 21:57:15 2002
/usr/sbin/pppd
-r-sr-xr-x 1 root wheel 174952 Apr 23 06:37:37 2003
/usr/sbin/pppd
-r-xr-sr-x 1 root kmem 22116 Sep 8 21:57:16 2002
/usr/sbin/pstat
-r-xr-sr-x 1 root kmem 22116 Apr 23 06:37:38 2003
/usr/sbin/pstat
-r-sr-xr-x 1 root wheel 10260 Sep 8 21:57:18 2002
/usr/sbin/sliplogin
-r-sr-xr-x 1 root wheel 10260 Apr 23 06:38:00 2003
/usr/sbin/sliplogin
-r-xr-sr-x 1 root kmem 9108 Sep 8 21:57:18 2002
/usr/sbin/slstats
-r-xr-sr-x 1 root kmem 9108 Apr 23 06:38:01 2003
/usr/sbin/slstats
-r-sr-xr-x 1 root wheel 17448 Sep 8 21:57:22 2002
/usr/sbin/timedc
-r-sr-xr-x 1 root wheel 17448 Apr 23 06:38:17 2003
/usr/sbin/timedc
-r-sr-xr-x 1 root wheel 23120 Sep 8 21:57:23 2002
/usr/sbin/traceroute
-r-sr-xr-x 1 root wheel 23120 Apr 23 06:38:19 2003
/usr/sbin/traceroute
-r-sr-xr-x 1 root wheel 18800 Sep 8 21:57:28 2002
/usr/sbin/traceroute6
-r-sr-xr-x 1 root wheel 18800 Apr 23 06:39:07 2003
/usr/sbin/traceroute6
-r-xr-sr-x 1 root kmem 11728 Sep 8 21:57:23 2002
/usr/sbin/trpt
-r-xr-sr-x 1 root kmem 11728 Apr 23 06:38:19 2003
/usr/sbin/trpt
-r-xr-sr-x 1 root kmem 12100 Sep 8 21:57:23 2002
/usr/sbin/trsp
-r-xr-sr-x 1 root kmem 12100 Apr 23 06:38:20 2003
/usr/sbin/trsp