[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: access rights in /sbin and /bin



As requested. See attached files bin.txt and sbin.txt related to /bin and /sbin respectively.
Regards,
Antonio

2008/12/7 Hans-J. Ullrich <hans.ullrich@loop.de>
Hi all,

some of my access settings in /bin and /sbin seem to be false (for
example /sbin/killall5 was set rwxr-x---, but should be rwxr-xr-x). I
suppose, some other executables might be set false, too (I sometimes got
problems with "eject" and some other).

It would be nice, if someone could send me the list with the correct settings,
so I can compare it. Just pipe ls -la /bin and ls -la /sbin into a text file,
and send this directly my address hans.ullrich@loop.de.

Thank you very much !

Cheers

Hans


--
To UNSUBSCRIBE, email to debian-amd64-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


total 4940
drwxr-xr-x  2 root root   4096 2008-11-29 13:41 .
drwxr-xr-x 23 root root   4096 2008-12-07 12:24 ..
-rwxr-xr-x  1 root root 797784 2008-05-12 14:00 bash
-rwxr-xr-x  3 root root  29944 2008-08-05 07:56 bunzip2
-rwxr-xr-x  1 root root 470832 2008-09-07 08:06 busybox
-rwxr-xr-x  3 root root  29944 2008-08-05 07:56 bzcat
lrwxrwxrwx  1 root root      6 2008-09-21 17:55 bzcmp -> bzdiff
-rwxr-xr-x  1 root root   2140 2008-08-05 07:56 bzdiff
lrwxrwxrwx  1 root root      6 2008-09-21 17:55 bzegrep -> bzgrep
-rwxr-xr-x  1 root root   4874 2008-08-05 07:56 bzexe
lrwxrwxrwx  1 root root      6 2008-09-21 17:55 bzfgrep -> bzgrep
-rwxr-xr-x  1 root root   3642 2008-08-05 07:56 bzgrep
-rwxr-xr-x  3 root root  29944 2008-08-05 07:56 bzip2
-rwxr-xr-x  1 root root  10808 2008-08-05 07:56 bzip2recover
lrwxrwxrwx  1 root root      6 2008-09-21 17:55 bzless -> bzmore
-rwxr-xr-x  1 root root   1297 2008-08-05 07:56 bzmore
-rwxr-xr-x  1 root root  32136 2008-04-04 11:58 cat
-rwxr-xr-x  1 root root  52696 2008-04-04 11:58 chgrp
-rwxr-xr-x  1 root root  49560 2008-04-04 11:58 chmod
-rwxr-xr-x  1 root root  56248 2008-04-04 11:58 chown
-rwxr-xr-x  1 root root  78184 2008-04-04 11:58 cp
-rwxr-xr-x  1 root root 122264 2008-04-03 12:39 cpio
lrwxrwxrwx  1 root root     21 2008-09-21 16:50 csh -> /etc/alternatives/csh
-rwxr-xr-x  1 root root  61976 2008-04-04 11:58 date
-rwxr-xr-x  1 root root  52224 2008-04-04 11:58 dd
-rwxr-xr-x  1 root root  48512 2008-04-04 11:58 df
-rwxr-xr-x  1 root root 101992 2008-04-04 11:58 dir
-rwxr-xr-x  1 root root   6664 2008-04-28 23:36 dmesg
-rwxr-xr-x  1 root root  11712 2007-12-27 13:50 dnsdomainname
-rwxr-xr-x  1 root root  30136 2008-04-04 11:58 echo
-rwxr-xr-x  1 root root  49632 2008-08-27 04:06 ed
-rwxr-xr-x  1 root root 103568 2008-08-31 14:38 egrep
-rwxr-xr-x  1 root root  27320 2008-04-04 11:58 false
-rwxr-xr-x  1 root root   7416 2008-04-15 18:40 fgconsole
-rwxr-xr-x  1 root root  60816 2008-08-31 14:38 fgrep
-rwxr-xr-x  1 root root  24280 2007-11-22 04:21 fuser
-rwxr-xr-x  1 root root 110128 2008-08-31 14:38 grep
-rwxr-xr-x  2 root root     61 2008-04-15 17:56 gunzip
-rwxr-xr-x  1 root root   5864 2008-04-15 17:56 gzexe
-rwxr-xr-x  1 root root  60416 2008-04-15 17:56 gzip
-rwxr-xr-x  1 root root  11712 2007-12-27 13:50 hostname
-rwxr-xr-x  1 root root 202032 2008-07-27 10:24 ip
-rwxr-xr-x  1 root root  15912 2008-04-07 20:14 kill
-rwxr-xr-x  1 root root  45888 2008-04-04 11:58 ln
-rwxr-xr-x  1 root root  40944 2008-04-15 18:40 loadkeys
-rwxr-xr-x  1 root root  38040 2008-11-22 16:13 login
-rwxr-xr-x  1 root root 101992 2008-04-04 11:58 ls
-rwxr-xr-x  1 root root   6008 2008-04-04 23:06 lsmod
-rwxr-xr-x  1 root root  35928 2008-04-04 11:58 mkdir
-rwxr-xr-x  1 root root  33352 2008-04-04 11:58 mknod
-rwxr-xr-x  1 root root   9384 2008-08-15 12:52 mktemp
-rwxr-xr-x  1 root root  32600 2008-04-28 23:36 more
-rwsr-xr-x  1 root root  66152 2008-04-28 23:36 mount
-rwxr-xr-x  1 root root   6640 2008-08-12 11:20 mountpoint
lrwxrwxrwx  1 root root     20 2008-09-21 16:47 mt -> /etc/alternatives/mt
-rwxr-xr-x  1 root root  33720 2008-04-03 12:39 mt-gnu
-rwxr-xr-x  1 root root  85320 2008-04-04 11:58 mv
-rwxr-xr-x  1 root root 168200 2008-08-26 13:21 nano
lrwxrwxrwx  1 root root     20 2008-09-21 17:02 nc -> /etc/alternatives/nc
-rwxr-xr-x  1 root root  23992 2008-06-19 18:34 nc.traditional
lrwxrwxrwx  1 root root     24 2008-09-21 17:02 netcat -> /etc/alternatives/netcat
-rwxr-xr-x  1 root root 120048 2008-09-27 15:05 netstat
lrwxrwxrwx  1 root root     16 2008-09-21 17:01 pidof -> ../sbin/killall5
-rwsr-xr-x  1 root root  32792 2007-12-10 02:20 ping
-rwsr-xr-x  1 root root  28560 2007-12-10 02:20 ping6
-rwxr-xr-x  1 root root  97480 2008-04-07 20:14 ps
-rwxr-xr-x  1 root root  32152 2008-04-04 11:58 pwd
lrwxrwxrwx  1 root root      4 2008-09-21 17:01 rbash -> bash
-rwxr-xr-x  1 root root  39880 2008-04-04 11:58 readlink
-rwxr-xr-x  1 root root  53576 2008-04-04 11:58 rm
-rwxr-xr-x  1 root root  28904 2008-04-04 11:58 rmdir
lrwxrwxrwx  1 root root      4 2008-09-21 17:01 rnano -> nano
-rwxr-xr-x  1 root root  15512 2008-06-27 11:21 run-parts
-rwxr-xr-x  1 root root  49464 2008-03-03 00:05 sed
lrwxrwxrwx  1 root root      4 2008-09-21 17:01 sh -> bash
-rwxr-xr-x  1 root root  29960 2008-04-04 11:58 sleep
-rwxr-xr-x  1 root root  53976 2008-04-04 11:58 stty
-rwsr-xr-x  1 root root  33112 2008-11-22 16:13 su
-rwxr-xr-x  1 root root  27336 2008-04-04 11:58 sync
-rwxr-xr-x  1 root root   6728 2008-04-28 23:36 tailf
-rwxr-xr-x  1 root root 328296 2008-04-17 00:10 tar
lrwxrwxrwx  1 root root     13 2008-09-21 16:50 tcsh -> /usr/bin/tcsh
-rwxr-xr-x  1 root root   7848 2008-06-27 11:21 tempfile
-rwxr-xr-x  1 root root  52120 2008-04-04 11:58 touch
-rwxr-xr-x  1 root root  27320 2008-04-04 11:58 true
-rwsr-xr-x  1 root root  46040 2008-04-28 23:36 umount
-rwxr-xr-x  1 root root  29304 2008-04-04 11:58 uname
-rwxr-xr-x  2 root root     61 2008-04-15 17:56 uncompress
-rwxr-xr-x  1 root root 101992 2008-04-04 11:58 vdir
-rwxr-xr-x  1 root root    946 2008-06-27 11:21 which
-rwxr-xr-x  1 root root     62 2008-04-15 17:56 zcat
-rwxr-xr-x  1 root root     67 2008-04-15 17:56 zcmp
-rwxr-xr-x  1 root root   4422 2008-04-15 17:56 zdiff
-rwxr-xr-x  1 root root     62 2008-04-15 17:56 zegrep
-rwxr-xr-x  1 root root     62 2008-04-15 17:56 zfgrep
-rwxr-xr-x  1 root root   2013 2008-04-15 17:56 zforce
-rwxr-xr-x  1 root root   4896 2008-04-15 17:56 zgrep
-rwxr-xr-x  1 root root   1731 2008-04-15 17:56 zless
-rwxr-xr-x  1 root root   2414 2008-04-15 17:56 zmore
-rwxr-xr-x  1 root root   4950 2008-04-15 17:56 znew
total 5564
drwxr-xr-x  2 root root     4096 2008-12-04 21:00 .
drwxr-xr-x 23 root root     4096 2008-12-07 12:24 ..
-rwxr-xr-x  1 root root     4520 2008-02-17 18:06 acpi_available
-rwxr-xr-x  1 root root     4864 2008-02-17 18:06 apm_available
-rwxr-xr-x  1 root root    23472 2008-10-13 00:54 badblocks
-rwxr-xr-x  1 root root    12928 2008-10-13 00:54 blkid
-rwxr-xr-x  1 root root    12072 2008-04-28 23:36 blockdev
-rwxr-xr-x  1 root root    15432 2008-08-12 11:20 bootlogd
-rwxr-xr-x  1 root root    53928 2008-04-28 23:36 cfdisk
-rwxr-xr-x  1 root root     5208 2008-04-28 23:36 ctrlaltdel
-rwxr-xr-x  1 root root    81736 2008-10-13 00:54 debugfs
-rwxr-xr-x  1 root root    52800 2008-04-04 23:06 depmod
lrwxrwxrwx  1 root root        9 2008-10-31 23:17 dhclient -> dhclient3
-rwxr-xr-x  1 root root   398568 2008-10-17 03:23 dhclient3
-rwxr-xr-x  1 root root     7838 2008-10-17 03:23 dhclient-script
-rwxr-xr-x  1 root root    47792 2008-07-04 15:51 dosfsck
-rwxr-xr-x  1 root root    44640 2008-07-04 15:51 dosfslabel
-rwxr-xr-x  1 root root    15344 2008-10-13 00:54 dumpe2fs
-rwxr-xr-x  5 root root   180056 2008-10-13 00:54 e2fsck
-rwxr-xr-x  1 root root    15216 2008-10-13 00:54 e2image
-rwxr-xr-x  3 root root    33752 2008-10-13 00:54 e2label
-rwxr-xr-x  1 root root     8840 2008-10-13 00:54 e2undo
-rwxr-xr-x  1 root root    83688 2008-04-28 23:36 fdisk
-rwxr-xr-x  3 root root    33752 2008-10-13 00:54 findfs
-rwxr-xr-x  1 root root     6640 2008-09-02 15:54 fixfiles
-rwxr-xr-x  1 root root    23864 2008-10-13 00:54 fsck
-rwxr-xr-x  1 root root     8856 2008-04-28 23:36 fsck.cramfs
-rwxr-xr-x  5 root root   180056 2008-10-13 00:54 fsck.ext2
-rwxr-xr-x  5 root root   180056 2008-10-13 00:54 fsck.ext3
-rwxr-xr-x  5 root root   180056 2008-10-13 00:54 fsck.ext4
-rwxr-xr-x  5 root root   180056 2008-10-13 00:54 fsck.ext4dev
-rwxr-xr-x  1 root root    24608 2008-04-28 23:36 fsck.minix
lrwxrwxrwx  1 root root        7 2008-09-21 18:10 fsck.msdos -> dosfsck
-rwxr-xr-x  1 root root      333 2008-08-12 11:20 fsck.nfs
lrwxrwxrwx  1 root root        7 2008-09-21 18:10 fsck.vfat -> dosfsck
-rwxr-xr-x  1 root root    19824 2008-04-28 23:36 getty
-rwxr-xr-x  1 root root      375 2008-08-31 15:10 grub-install
-rwxr-xr-x  1 root root    15112 2008-08-12 11:20 halt
-rwxr-xr-x  1 root root    78608 2008-09-05 07:39 hdparm
-rwxr-xr-x  1 root root    32064 2008-04-28 23:36 hwclock
-rwxr-xr-x  1 root root    68304 2008-09-27 15:05 ifconfig
-rwxr-xr-x  2 root root    32056 2008-05-08 18:36 ifdown
-rwxr-xr-x  2 root root    32056 2008-05-08 18:36 ifup
-rwxr-xr-x  1 root root    37384 2008-08-12 11:20 init
-rwxr-xr-x  1 root root     7496 2008-04-04 23:06 insmod
-rwxr-xr-x  1 root root     2331 2008-06-27 11:21 installkernel
lrwxrwxrwx  1 root root        7 2008-09-21 18:10 ip -> /bin/ip
-rwxr-xr-x  1 root root    69632 2008-08-24 20:53 ip6tables
-rwxr-xr-x  1 root root    70816 2008-08-24 20:53 ip6tables-restore
-rwxr-xr-x  1 root root    69664 2008-08-24 20:53 ip6tables-save
-rwxr-xr-x  1 root root    14984 2008-09-27 15:05 ipmaddr
-rwxr-xr-x  1 root root    66848 2008-08-24 20:53 iptables
-rwxr-xr-x  1 root root    71296 2008-08-24 20:53 iptables-restore
-rwxr-xr-x  1 root root    68416 2008-08-24 20:53 iptables-save
-rwxr-xr-x  1 root root    18000 2008-09-27 15:05 iptunnel
-rwxr-xr-x  1 root root     6848 2008-04-28 23:36 isosize
-rwxr-xr-x  1 root root    24416 2008-07-12 19:07 iwconfig
-rwxr-xr-x  1 root root    15096 2008-07-12 19:07 iwevent
-rwxr-xr-x  1 root root    10816 2008-07-12 19:07 iwgetid
-rwxr-xr-x  1 root root    31616 2008-07-12 19:07 iwlist
-rwxr-xr-x  1 root root    11224 2008-07-12 19:07 iwpriv
-rwxr-xr-x  1 root root    10856 2008-07-12 19:07 iwspy
-rwxr-xr-x  1 root root     8448 2008-04-15 18:40 kbdrate
-rwxr-xr-x  1 root root    13880 2008-08-12 11:20 killall5
-rwxr-xr-x  1 root root    28120 2008-06-20 07:08 klogd
-rwxr-xr-x  1 root root   701904 2008-11-04 15:30 ldconfig
-rwxr-xr-x  1 root root     8752 2008-10-13 00:54 logsave
-rwxr-xr-x  1 root root    23240 2008-04-28 23:36 losetup
lrwxrwxrwx  1 root root       10 2008-09-21 17:01 lsmod -> /bin/lsmod
-rwxr-xr-x  1 root root    53290 2008-05-08 14:23 MAKEDEV
-rwxr-xr-x  1 root root    15464 2008-09-27 15:05 mii-tool
-rwxr-xr-x  1 root root    24600 2008-07-04 15:51 mkdosfs
-rwxr-xr-x  5 root root    56760 2008-10-13 00:54 mke2fs
-rwxr-xr-x  1 root root     6784 2008-04-28 23:36 mkfs
-rwxr-xr-x  1 root root    10824 2008-04-28 23:36 mkfs.bfs
-rwxr-xr-x  1 root root    17784 2008-04-28 23:36 mkfs.cramfs
-rwxr-xr-x  5 root root    56760 2008-10-13 00:54 mkfs.ext2
-rwxr-xr-x  5 root root    56760 2008-10-13 00:54 mkfs.ext3
-rwxr-xr-x  5 root root    56760 2008-10-13 00:54 mkfs.ext4
-rwxr-xr-x  5 root root    56760 2008-10-13 00:54 mkfs.ext4dev
-rwxr-xr-x  1 root root    16888 2008-04-28 23:36 mkfs.minix
lrwxrwxrwx  1 root root        7 2008-09-21 18:10 mkfs.msdos -> mkdosfs
lrwxrwxrwx  1 root root        7 2008-09-21 18:10 mkfs.vfat -> mkdosfs
-rwxr-xr-x  1 root root    15152 2008-04-28 23:36 mkswap
-rwxr-xr-x  1 root root    14008 2008-04-04 23:06 modinfo
-rwxr-xr-x  1 root root    32440 2008-04-04 23:06 modprobe
-rwsr-xr-x  1 root root    76344 2008-10-19 03:26 mount.nfs
lrwxrwxrwx  1 root root        9 2008-10-25 00:01 mount.nfs4 -> mount.nfs
-rwxr-xr-x  1 root root    11064 2008-09-27 15:05 nameif
-rwxr-xr-x  1 root root     1697 2007-08-23 23:07 on_ac_power
-rwxr-xr-x  1 root root     9296 2008-08-29 15:53 pam_tally
-rwxr-xr-x  1 root root     4448 2008-04-28 23:36 pivot_root
-rwxr-xr-x  1 root root     6688 2008-09-27 15:05 plipconfig
-rwxr-xr-x  1 root root     4896 2008-11-26 07:48 pmap_dump
-rwxr-xr-x  1 root root     5032 2008-11-26 07:48 pmap_set
-rwxr-xr-x  1 root root    20488 2008-11-26 07:48 portmap
lrwxrwxrwx  1 root root        4 2008-09-21 17:01 poweroff -> halt
-rwxr-xr-x  1 root root    28464 2008-09-27 15:05 rarp
-rwxr-xr-x  1 root root     7184 2008-04-28 23:36 raw
lrwxrwxrwx  1 root root        4 2008-09-21 17:01 reboot -> halt
-rwxr-xr-x  1 root root    36040 2008-10-13 00:54 resize2fs
lrwxrwxrwx  1 root root        8 2008-09-21 17:02 restorecon -> setfiles
-rwxr-xr-x  1 root root    11128 2008-04-04 23:06 rmmod
-rwxr-xr-x  1 root root    59584 2008-09-27 15:05 route
-rwxr-xr-x  1 root root    45568 2008-10-19 03:26 rpc.statd
-rwxr-xr-x  1 root root    33712 2008-07-27 10:24 rtacct
-rwxr-xr-x  1 root root    31568 2008-07-27 10:24 rtmon
-rwxr-xr-x  1 root root     4816 2008-08-12 11:20 runlevel
-rwxr-xr-x  1 root root    19568 2008-09-02 15:54 setfiles
-rwxr-xr-x  1 root root    57992 2008-04-28 23:36 sfdisk
-rwxr-xr-x  1 root root      875 2008-11-22 16:13 shadowconfig
-rwxr-xr-x  1 root root    15384 2008-10-19 03:26 showmount
-rwxr-xr-x  1 root root    23608 2008-08-12 11:20 shutdown
-rwxr-xr-x  1 root root    31728 2008-09-27 15:05 slattach
-rwxr-xr-x  1 root root    15632 2008-10-19 03:26 sm-notify
-rwxr-xr-x  1 root root    66448 2008-07-27 10:24 ss
-rwxr-xr-x  1 root root    23928 2008-08-12 11:20 startpar
-rwxr-xr-x  1 root root    24280 2008-11-18 09:52 start-stop-daemon
-rwxr-xr-x  1 root root    15184 2008-08-12 11:20 sulogin
lrwxrwxrwx  1 root root        6 2008-09-21 17:01 swapoff -> swapon
-rwxr-xr-x  1 root root    21496 2008-04-28 23:36 swapon
-rwxr-xr-x  1 root root    12600 2008-04-07 20:14 sysctl
-rwxr-xr-x  1 root root    34856 2008-06-20 07:08 syslogd
-rwxr-xr-x  1 root root   242696 2008-07-27 10:24 tc
lrwxrwxrwx  1 root root        4 2008-09-21 17:01 telinit -> init
-rwxr-xr-x  3 root root    33752 2008-10-13 00:54 tune2fs
-rwxr-xr-x  1 root root    80408 2008-09-18 22:23 udevadm
-rwxr-xr-x  1 root root    73064 2008-09-18 22:23 udevd
lrwxrwxrwx  1 root root        7 2008-10-08 23:35 udevsettle -> udevadm
lrwxrwxrwx  1 root root       20 2008-11-07 18:23 umount.hal -> /usr/sbin/umount.hal
lrwxrwxrwx  1 root root        9 2008-10-25 00:01 umount.nfs -> mount.nfs
lrwxrwxrwx  1 root root        9 2008-10-25 00:01 umount.nfs4 -> mount.nfs
-rwxr-sr-x  1 root shadow  29944 2008-08-29 15:53 unix_chkpwd
-rwxr-xr-x  1 root root    29784 2008-08-29 15:53 unix_update
-rwxr-xr-x  1 root root      466 2008-08-31 15:10 update-grub
-rwxr-xr-x  1 root root      300 2008-04-04 23:06 update-modules
lrwxrwxrwx  1 root root       16 2008-10-08 23:35 vol_id -> /lib/udev/vol_id

Reply to: