Date: Wed, 6 Jun 2001 11:18:15 +0200 (CEST) From: Alexander Leidinger <Alexander@Leidinger.net> To: current@freebsd.org Subject: set*uid broken? Message-ID: <200106060918.f569IG003175@Magelan.Leidinger.net>
next in thread | raw e-mail | index | archive | help
Hi, (3) root@ttyp0 # ktrace fetchnews fetchnews: must be run as news or root (4) root@ttyp0 # id uid=0(root) gid=0(wheel) groups=0(wheel), 2(kmem), 3(sys), 4(tty), 5(operator), 20(staff), 31(guest) (5) root@ttyp0 # ll `which fetchnews` -r-xr-xr-x 1 root wheel 58996 Apr 6 15:32 /usr/local/sbin/fetchnews* (6) root@ttyp0 # ldd `which fetchnews` /usr/local/sbin/fetchnews: libc.so.5 => /usr/lib/libc.so.5 (0x28074000) (7) root@ttyp0 # kdump |grep -e "[ug]id" 1860 fetchnews CALL geteuid 1860 fetchnews RET geteuid 0 1860 fetchnews CALL getuid 1860 fetchnews RET getuid 0 1860 fetchnews CALL getegid 1860 fetchnews RET getegid 0 1860 fetchnews CALL getgid 1860 fetchnews RET getgid 0 1860 fetchnews CALL geteuid 1860 fetchnews RET geteuid 0 1860 fetchnews CALL setregid(0xffffffff,0x8) 1860 fetchnews RET setregid 0 1860 fetchnews CALL setreuid(0xffffffff,0x8) 1860 fetchnews RET setreuid 0 1860 fetchnews CALL geteuid 1860 fetchnews RET geteuid 8 1860 fetchnews CALL getegid 1860 fetchnews RET getegid 0 -current from yesterday, leafnode+-2.12, ktrace.out available on request (I didn't want to mail 21k to everyone). I noticed some mails about changed set*uid behavior, is this a buggy program, or is it a bug in -current? Bye, Alexander. -- Reboot America. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106060918.f569IG003175>