[SLUG] suid woes

From: Eben King (eben1@tampabay.rr.com)
Date: Sun Nov 23 2003 - 22:13:39 EST


Hi. I'm trying to get VMware Workstation 3.1 working under Red Hat 8
(yeah, 9's out now, but it was 8 when I started). It worked fine under
7.2, but other stuff needed to be upgraded in RH 7.2 and couldn't be
without a massive upgrade.

Anyhow, I got all of VMware's associated files copied over (by doing 'rpm
-qlp package.rpm | tar czT - -f vmware.tar.gz' or something like that).
I got the kernel modules built under RH8 (with lots of complaining about
-m486 being deprecated... I'll fix vmware-config.pl). The problem is that
vmware complains about 'permission denied' when reading the files which
emulate hda... in this case, /usr/lib/vmware/win2000/* . They're
-rw------- root root, and vmware is -r-sr-xr-x root root /usr/bin/vmware ,
and the disk is /dev/hda5 on / type ext2 (rw) . 'type vmware' returns
'vmware is hashed (/usr/bin/vmware)'.

I do this:
vmware &
ps ax -o user,command | grep vmware

and see

root /usr/bin/vmnet-dhcpd -cf /etc/vmware/vmnet8/dhcpd/dhcpd.conf -lf /etc/v
eben vmware
eben vmware-ui -A 7 -B 4 -S -L /tmp/vmware-eben-2883.log -E none
eben vmware-mks -A 8 -B 5 -S -L /tmp/vmware-eben-2883.log -P 2883 -E none

Why is the OS not honoring the suid bit?

-- 
-eben    ebQenW1@EtaRmpTabYayU.rIr.OcoPm    home.tampabay.rr.com/hactar
An ASCII character walks into a bar and orders a double. "Having a bad
day?" asks the barman. "Yeah, I have a parity error," replies the ASCII
chrctr.  The barman says, "Yeah, I thght you looked a bit off." -- Skud

----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:06:21 EDT