-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Frank Groeneveld wrote:
> Hi,
> 
> You probably have /sbin/shutdown set suid, because on all my Gentoo
> boxes, normal users can't run it, only root can run it. (Permission
> denied). What is the output of ls -al /sbin/?
> 
> Greets,
> Frank
> 
[EMAIL PROTECTED] ~ $ ls -al /sbin/
razem 6680
drwxr-xr-x   2 root root    4096 sty 13 18:17 .
drwxr-xr-x  18 root root    4096 sty 12 11:20 ..
- -rwxr-xr-x   1 root root   14892 gru 21 21:25 agetty
- -rwxr-xr-x   1 root root   47780 wrz 16 06:28 arp
- -rwxr-xr-x   1 root root   11456 wrz 16 05:53 arping
- -rwxr-xr-x   1 root root    8092 gru 27 00:33 ata_id
- -rwxr-xr-x   1 root root   18516 gru 21 21:23 badblocks
- -rwxr-xr-x   1 root root    8336 gru 21 21:23 blkid
- -rwxr-xr-x   1 root root    9212 gru 21 21:25 blockdev
- -rwxr-xr-x   1 root root   11932 lis 29 16:39 bootlogd
- -rwxr-xr-x   1 root root    7552 gru 27 00:33 cdrom_id
- -rwxr-xr-x   1 root root   53068 gru 21 21:25 cfdisk
- -rwxr-xr-x   1 root root    3416 sty 13 18:17 consoletype
- -rwxr-xr-x   1 root root    4832 gru 27 00:33 create_floppy_devices
- -rwxr-xr-x   1 root root    4100 gru 21 21:25 ctrlaltdel
- -rwx------   1 root root      89 gru 18 23:08 d2lod_mounter
- -rwxr-xr-x   1 root root   65220 gru 21 21:23 debugfs
- -rwxr-xr-x   1 root root   36900 gru 29 01:46 depmod
- -rwxr-xr-x   1 root root   86500 gru 29 01:46 depmod.old
- -rwxr-xr-x   1 root root    2077 sty 13 18:17 depscan.sh
- -rwxr-xr-x   1 root root   43712 lis 28 23:44 dhcpcd
- -rwxr-xr-x   1 root root   10332 gru 21 21:23 dumpe2fs
- -rwxr-xr-x   1 root root  140700 gru 21 21:23 e2fsck
- -rwxr-xr-x   1 root root   12400 gru 21 21:23 e2image
lrwxrwxrwx   1 root root       7 gru 21 21:23 e2label -> tune2fs
- -rwxr-xr-x   1 root root    6096 gru 21 21:25 elvtune
- -rwxr-xr-x   1 root root     692 sty 13 18:17 env-update.sh
- -rwxr-xr-x   1 root root   82500 gru 21 21:25 fdisk
- -rwxr-xr-x   1 root root    6884 gru 21 21:23 filefrag
lrwxrwxrwx   1 root root       7 gru 21 21:23 findfs -> tune2fs
- -rwxr-xr-x   1 root root    9560 gru 27 00:33 firmware_helper
- -rwxr-xr-x   1 root root    1712 sty  4 11:01 fix_libtool_files.sh
- -rwxr-xr-x   1 root root   18752 gru 21 21:23 fsck
- -rwxr-xr-x   1 root root   10904 gru 21 21:25 fsck.cramfs
lrwxrwxrwx   1 root root       6 gru 21 21:23 fsck.ext2 -> e2fsck
lrwxrwxrwx   1 root root       6 gru 21 21:23 fsck.ext3 -> e2fsck
- -rwxr-xr-x   1 root root   22556 gru 21 21:25 fsck.minix
- -rwxr-xr-x   1 root root   18858 sty 13 18:17 functions.sh
- -rwxr-xr-x   1 root root    9116 gru 29 01:46 generate-modprobe.conf
- -rwxr-xr-x   1 root root   34108 gru 29 01:46 genksyms
- -rwxr-xr-x   1 root root  135552 lis 29 17:43 grub
- -rwxr-xr-x   1 root root   12912 lis 29 17:43 grub-install
- -rwxr-xr-x   1 root root    2304 lis 29 17:43 grub-md5-crypt
- -rwxr-xr-x   1 root root    2533 lis 29 17:43 grub-set-default
- -rwxr-xr-x   1 root root    2473 lis 29 17:43 grub-terminfo
- -rwxr-xr-x   1 root root   10984 lis 29 16:39 halt
- -rwxr-xr-x   1 root root   56176 gru 31 08:42 hdparm
- -rwxr-xr-x   1 root root    1160 wrz 16 06:58 hotplug
- -rwxr-xr-x   1 root root   29588 gru 21 21:25 hwclock
- -rwxr-xr-x   1 root root     807 gru 31 08:42 idectl
- -rwxr-xr-x   1 root root   61332 wrz 16 06:28 ifconfig
- -rwxr-xr-x   1 root root   35688 lis 29 16:39 init
- -rwxr-xr-x   1 root root    6836 gru 29 01:46 insmod
- -rwxr-xr-x   1 root root     359 gru 29 01:46 insmod_ksymoops_clean
- -rwxr-xr-x   1 root root  132680 gru 29 01:46 insmod.old
- -rwxr-xr-x   1 root root  472336 gru 29 01:46 insmod.static
- -rwxr-xr-x   1 root root  667968 gru 29 01:46 insmod.static.old
- -rwxr-xr-x   1 root root    1512 lis 29 11:14 installkernel
- -rwxr-xr-x   1 root root   12068 wrz 16 06:28 ipmaddr
- -rwxr-xr-x   1 root root   16288 wrz 16 06:28 iptunnel
lrwxrwxrwx   1 root root      10 gru 29 01:46 kallsyms -> insmod.old
lrwxrwxrwx   1 root root      17 gru 29 01:46 kallsyms.static ->
insmod.static.old
- -rw-r--r--   1 root root       0 gru 12 12:28 .keep
- -rwxr-xr-x   1 root root     451 gru 29 01:46 kernelversion
- -rwxr-xr-x   1 root root   10700 lis 29 16:39 killall5
lrwxrwxrwx   1 root root      10 gru 29 01:46 ksyms -> insmod.old
lrwxrwxrwx   1 root root      17 gru 29 01:46 ksyms.static ->
insmod.static.old
- -rwxr-xr-x   1 root root  598704 sty  4 12:27 ldconfig
- -rwxr-xr-x   1 root root    6412 gru 21 21:23 logsave
- -rwxr-xr-x   1 root root   45000 gru 21 21:25 losetup
lrwxrwxrwx   1 root root      12 gru 29 01:46 lsmod -> ../bin/lsmod
lrwxrwxrwx   1 root root      10 gru 29 01:46 lsmod.old -> insmod.old
lrwxrwxrwx   1 root root      13 gru 29 01:46 lsmod.static -> insmod.static
- -rwxr-xr-x   1 root root   51166 sty 13 18:17 MAKEDEV
- -rwxr-xr-x   1 root root   12516 wrz 16 06:28 mii-tool
- -rwxr-xr-x   1 root root   31768 gru 21 21:23 mke2fs
- -rwxr-xr-x   1 root root    5368 gru 21 21:25 mkfs
- -rwxr-xr-x   1 root root    8584 gru 21 21:25 mkfs.bfs
- -rwxr-xr-x   1 root root   15700 gru 21 21:25 mkfs.cramfs
lrwxrwxrwx   1 root root       6 gru 21 21:23 mkfs.ext2 -> mke2fs
lrwxrwxrwx   1 root root       6 gru 21 21:23 mkfs.ext3 -> mke2fs
- -rwxr-xr-x   1 root root   15516 gru 21 21:25 mkfs.minix
- -rwxr-xr-x   1 root root   12480 gru 21 21:25 mkswap
- -rwxr-xr-x   1 root root   11020 gru 29 01:46 modinfo
- -rwxr-xr-x   1 root root   57492 gru 29 01:46 modinfo.old
- -rwxr-xr-x   1 root root   24052 gru 29 01:46 modprobe
lrwxrwxrwx   1 root root      10 gru 29 01:46 modprobe.old -> insmod.old
lrwxrwxrwx   1 root root      13 gru 29 01:46 modprobe.static ->
insmod.static
- -rwxr-xr-x   1 root root    7651 sty 13 18:17 modules-update
- -rwxr-xr-x   1 root root    8820 wrz 16 06:28 nameif
- -rwxr-xr-x   1 root root    9241 gru 27 00:33 path_id
- -rwxr-xr-x   1 root root    3416 gru 21 21:25 pivot_root
- -rwxr-xr-x   1 root root    5372 wrz 16 06:28 plipconfig
- -rwxr-xr-x   1 root root   13280 wrz 17 22:40 portmap
lrwxrwxrwx   1 root root       4 lis 29 16:39 poweroff -> halt
- -rwxr-xr-x   1 root root   25848 wrz 16 06:28 rarp
- -rwxr-xr-x   1 root root   22634 sty 13 18:17 rc
- -rwxr-xr-x   1 root root    3376 sty 13 18:17 rc-update
lrwxrwxrwx   1 root root       4 lis 29 16:39 reboot -> halt
- -rwxr-xr-x   1 root root   25524 gru 21 21:23 resize2fs
- -rwxr-xr-x   1 root root    9052 gru 29 01:46 rmmod
lrwxrwxrwx   1 root root      10 gru 29 01:46 rmmod.old -> insmod.old
lrwxrwxrwx   1 root root      13 gru 29 01:46 rmmod.static -> insmod.static
- -rwxr-xr-x   1 root root   48892 wrz 16 06:28 route
- -rwxr-xr-x   1 root root    3600 lis 29 16:39 runlevel
- -rwxr-xr-x   1 root root   18804 sty 13 18:17 runscript
- -rwxr-xr-x   1 root root   17666 sty 13 18:17 runscript.sh
- -rwxr-xr-x   1 root root   27456 gru 27 00:33 scsi_id
- -rwxr-xr-x   1 root root   52716 gru 21 21:25 sfdisk
- -rwxr-xr-x   1 root root   19424 lis 29 16:39 shutdown
- -rwxr-xr-x   1 root root   30100 wrz 16 06:28 slattach
- -rwxr-xr-x   1 root root  476108 sty  4 12:27 sln
- -rwxr-xr-x   1 root root   18880 sty 13 18:17 start-stop-daemon
- -rwxr-xr-x   1 root root   10344 lis 29 16:39 sulogin
- -rwxr-xr-x   1 root root 1498452 gru 29 01:43 suspend2ui_fbsplash
- -rwxr-xr-x   1 root root  490080 gru 29 01:43 suspend2ui_text
lrwxrwxrwx   1 root root       6 gru 21 21:25 swapoff -> swapon
- -rwxr-xr-x   1 root root   26340 gru 21 21:25 swapon
- -r-xr-xr-x   1 root root    9476 gru 28 00:40 sysctl
lrwxrwxrwx   1 root root       4 lis 29 16:39 telinit -> init
- -rwxr-xr-x   1 root root   22768 gru 21 21:23 tune2fs
- -rwxr-xr-x   1 root root   48680 gru 27 00:33 udev
- -rwxr-xr-x   1 root root   10432 gru 27 00:33 udevcontrol
- -rwxr-xr-x   1 root root   55720 gru 27 00:33 udevd
- -rwxr-xr-x   1 root root    7820 gru 27 00:33 udev_run_devd
- -rwxr-xr-x   1 root root    7692 gru 27 00:33 udev_run_hotplugd
- -rwxr-xr-x   1 root root   19292 gru 27 00:33 udevsend
- -rwxr-xr-x   1 root root   48680 gru 27 00:33 udevstart
lrwxrwxrwx   1 root root      14 sty 13 18:17 update-modules ->
modules-update
- -rwxr-xr-x   1 root root   21500 gru 27 00:33 usb_id
- -rwxr-xr-x   1 root root   22044 gru 27 00:33 vol_id


- --
Paweł Madej aka Nysander
Member of QuanTeam              | RLU #357047
http://wiki.quanteam.info       | Gentoo Linux User
http://forum-farmaceutyczne.org | GPG key: 5861680B
                                | keyserver: http://pgp.mit.edu
Kielce, Poland                  | UTF-8 Email Preferred

Looking to buy:  6x 73 GB UW3/Ultra160 SCSI 80 pin (SCA)
  ..::||::..     pair of PentiumIII Slot1 1GHz/ FSB 100 processors
  ..::||::..     2x 256 MB SDRAM ECC Registered
Got any of this mail me, with prize and shipping costs.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDzPbDgvSMglhhaAsRAkbjAJ9SES5EpEz0xH0JbqlnaiKzDqlykwCgklRj
MBGH2ral2g9v8O0XJsW6S6I=
=6Cnx
-----END PGP SIGNATURE-----

-- 
gentoo-dev@gentoo.org mailing list

Reply via email to