Re: [SLUG] suid woes

From: Andrew M. Hoerter (amh@pobox.com)
Date: Sun Nov 23 2003 - 22:40:52 EST


On Sun, 23 Nov 2003, Eben King wrote:

> 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?

Is 'vmware' a shell script? Suid/sgid bits usually aren't honored on
those (for good reason).

Otherwise, it's possible that the program is dropping root privs on
purpose.

I'm not familiar with VMware under Linux, but is it possible to give
ownership of the virtual disks to your regular UID and then run it
normally (non-suid)?

-----------------------------------------------------------------------
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:40 EDT