[PC-BSD Commits] r4061 - in pcbsd: trunk trunk/build-files/conf trunk/suidwrapper trunk-current trunk-current/build-files/conf trunk-current/suidwrapper

svn at pcbsd.org svn at pcbsd.org
Mon Jun 8 12:17:28 PDT 2009


Author: kris
Date: 2009-06-08 12:17:27 -0700 (Mon, 08 Jun 2009)
New Revision: 4061

Added:
   pcbsd/trunk-current/build-files/conf/pcbsd-suidwrapper
   pcbsd/trunk-current/suidwrapper/
   pcbsd/trunk-current/suidwrapper/suidwrapper.c
   pcbsd/trunk/build-files/conf/pcbsd-suidwrapper
   pcbsd/trunk/suidwrapper/
   pcbsd/trunk/suidwrapper/suidwrapper.c
Modified:
   pcbsd/trunk-current/build-files/conf/pcbsd-mvfiles
   pcbsd/trunk-current/build-files/conf/pcbsd-perms
   pcbsd/trunk/build-files/conf/pcbsd-mvfiles
   pcbsd/trunk/build-files/conf/pcbsd-perms
Log:

Added a working suidwrapper for some specific KDE apps which need to use SUID, but don't work with our LD_ELF_HINTS_PATH variable
being unset when its run as root. 



Modified: pcbsd/trunk/build-files/conf/pcbsd-mvfiles
===================================================================
--- pcbsd/trunk/build-files/conf/pcbsd-mvfiles	2009-06-08 18:14:28 UTC (rev 4060)
+++ pcbsd/trunk/build-files/conf/pcbsd-mvfiles	2009-06-08 19:17:27 UTC (rev 4061)
@@ -1 +1,4 @@
+/usr/PCBSD/local/kde4/bin/kppp /usr/PCBSD/local/kde4/bin/kppp-bin
+/usr/PCBSD/local/kde4/bin/kwrited /usr/PCBSD/local/kde4/bin/kwrited-bin
+/usr/PCBSD/local/kde4/lib/kde4/libexec/kdesud /usr/PCBSD/local/kde4/lib/kde4/libexec/kdesud-bin
 /sbin/mount_ntfs /sbin/mount_ntfs.orig

Modified: pcbsd/trunk/build-files/conf/pcbsd-perms
===================================================================
--- pcbsd/trunk/build-files/conf/pcbsd-perms	2009-06-08 18:14:28 UTC (rev 4060)
+++ pcbsd/trunk/build-files/conf/pcbsd-perms	2009-06-08 19:17:27 UTC (rev 4061)
@@ -1,29 +1,29 @@
 755 /etc/rc.d/sshd
 755 /bin/bash
-755 /usr/PCBSD/bin/*
-755 /usr/PCBSD/cardDetect/*.sh
-755 /usr/PCBSD/Scripts/*.sh
-755 /usr/PCBSD/Scripts/System/*.sh
+755 /PCBSD/bin/*
+755 /PCBSD/cardDetect/*.sh
+755 /PCBSD/Scripts/*.sh
+755 /PCBSD/Scripts/System/*.sh
 755 /sbin/mount_auto
-755 /usr/PCBSD/local/bin/startkde
-755 /usr/PCBSD/local/rc.d/*
-755 /usr/PCBSD/local/etc/periodic/monthly/*
-755 /usr/PCBSD/local/bin/lpr
-755 /usr/PCBSD/Programs/.bin/*
+755 /PCBSD/local/bin/startkde
+755 /PCBSD/local/rc.d/*
+755 /PCBSD/local/etc/periodic/monthly/*
+755 /PCBSD/local/bin/lpr
+755 /PCBSD/Programs/.bin/*
 755 /usr/Programs/.bin/*
-440 /usr/PCBSD/local/etc/sudoers
-755 /usr/PCBSD/local/etc/fonts/alias.conf
-755 /usr/PCBSD/Services/cups/*.sh
-755 /usr/PCBSD/Services/ssh/*.sh
-755 /usr/PCBSD/Services/denyhosts/*.sh
-755 /usr/PCBSD/LANGS/PCBSDLANG
-755 /usr/PCBSD/local/etc/fonts/*
-755 /usr/PCBSD/local/lib/nspluginwrapper/noarch/npviewer
-755 /usr/PCBSD/local/bin/xterm
-2755 /usr/PCBSD/local/kde4/lib/kde4/libexec/kdesud
+440 /PCBSD/local/etc/sudoers
+755 /PCBSD/local/etc/fonts/alias.conf
+755 /PCBSD/Services/cups/*.sh
+755 /PCBSD/Services/ssh/*.sh
+755 /PCBSD/Services/denyhosts/*.sh
+755 /PCBSD/LANGS/PCBSDLANG
+755 /PCBSD/local/etc/fonts/*
+755 /PCBSD/local/lib/nspluginwrapper/noarch/npviewer
+755 /PCBSD/local/bin/xterm
+4755 /usr/PCBSD/local/kde4/lib/kde4/libexec/kdesud
 755 /usr/PCBSD/local/kde4/lib/kde4/libexec/kdesud-bin
-2755 /usr/PCBSD/local/kde4/bin/kwrited
+4755 /usr/PCBSD/local/kde4/bin/kwrited
 755 /usr/PCBSD/local/kde4/bin/kwrited-bin
-2755 /usr/PCBSD/local/kde4/bin/kppp
+4755 /usr/PCBSD/local/kde4/bin/kppp
 755 /usr/PCBSD/local/kde4/bin/kppp-bin
-644 /usr/PCBSD/SystemUpdater/conf/*
+644 /PCBSD/SystemUpdater/conf/*

Modified: pcbsd/trunk-current/build-files/conf/pcbsd-mvfiles
===================================================================
--- pcbsd/trunk-current/build-files/conf/pcbsd-mvfiles	2009-06-08 18:14:28 UTC (rev 4060)
+++ pcbsd/trunk-current/build-files/conf/pcbsd-mvfiles	2009-06-08 19:17:27 UTC (rev 4061)
@@ -1 +1,4 @@
+/usr/PCBSD/local/kde4/bin/kppp /usr/PCBSD/local/kde4/bin/kppp-bin
+/usr/PCBSD/local/kde4/bin/kwrited /usr/PCBSD/local/kde4/bin/kwrited-bin
+/usr/PCBSD/local/kde4/lib/kde4/libexec/kdesud /usr/PCBSD/local/kde4/lib/kde4/libexec/kdesud-bin
 /sbin/mount_ntfs /sbin/mount_ntfs.orig

Modified: pcbsd/trunk-current/build-files/conf/pcbsd-perms
===================================================================
--- pcbsd/trunk-current/build-files/conf/pcbsd-perms	2009-06-08 18:14:28 UTC (rev 4060)
+++ pcbsd/trunk-current/build-files/conf/pcbsd-perms	2009-06-08 19:17:27 UTC (rev 4061)
@@ -20,10 +20,10 @@
 755 /PCBSD/local/etc/fonts/*
 755 /PCBSD/local/lib/nspluginwrapper/noarch/npviewer
 755 /PCBSD/local/bin/xterm
-2755 /usr/PCBSD/local/kde4/lib/kde4/libexec/kdesud
+4755 /usr/PCBSD/local/kde4/lib/kde4/libexec/kdesud
 755 /usr/PCBSD/local/kde4/lib/kde4/libexec/kdesud-bin
-2755 /usr/PCBSD/local/kde4/bin/kwrited
+4755 /usr/PCBSD/local/kde4/bin/kwrited
 755 /usr/PCBSD/local/kde4/bin/kwrited-bin
-2755 /usr/PCBSD/local/kde4/bin/kppp
+4755 /usr/PCBSD/local/kde4/bin/kppp
 755 /usr/PCBSD/local/kde4/bin/kppp-bin
 644 /PCBSD/SystemUpdater/conf/*



More information about the Commits mailing list