Re: [leaf-user] backup suid-bit

2008-12-14 Thread Boris
Giovanni Franza schrieb: Boris wrote: ... I made this big script: RCDLINKS=2,S80 sleep 60 chmod u+s /usr/sbin/ether-wake chown wolagent:wolagent /home/wolagent The chown work, but the chmod doesn't! As you can see, I tried to solve this by delaying the execution - with no success.

Re: [leaf-user] backup suid-bit

2008-12-14 Thread Erich Titl
Hi Boris Boris wrote: Erich Titl schrieb: Boris Boris wrote: Erich Titl schrieb: Boris ... To have it backuped, I wrote its name to /var/lib/lrpkg/local.local. Executing this file brings me the bits. Last question: Hwo do I make it autoexecuted on startup? I think I have to place

Re: [leaf-user] backup suid-bit

2008-12-12 Thread Boris
Erich Titl schrieb: Boris Boris wrote: Erich Titl schrieb: Boris ... To have it backuped, I wrote its name to /var/lib/lrpkg/local.local. Executing this file brings me the bits. Last question: Hwo do I make it autoexecuted on startup? I think I have to place somehow a symlink int

Re: [leaf-user] backup suid-bit

2008-12-12 Thread Giovanni Franza
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Boris wrote: ... I made this big script: RCDLINKS=2,S80 sleep 60 chmod u+s /usr/sbin/ether-wake chown wolagent:wolagent /home/wolagent The chown work, but the chmod doesn't! As you can see, I tried to solve this by delaying the execution -

Re: [leaf-user] backup suid-bit

2008-12-05 Thread Erich Titl
Boris This is on a 3.x sentinel# pwd /tmp sentinel# ls -l -rwsr-sr-x1 root root 1284 Nov 6 12:59 foo my /var/lib/lrpkg/local.local usr/local var/lib/lrpkg/local.local var/lib/lrpkg/etc.local var/lib/lrpkg/config.local var/webconf/www/webconf.css var/webconf/www/lrcfg.cgi

Re: [leaf-user] backup suid-bit

2008-12-05 Thread Erich Titl
Boris Boris wrote: Erich Titl schrieb: Boris schrieb: wolagent:x:1005:1005:Linux User,,,:/home/wolagent:/bin/sh sentinel# cd /home sentinel# ls -l drwxr-xr-x2 root root 40 Dec 5 09:58 wolagent sentinel# chown wolagent wolagent sentinel# ls -l drwxr-xr-x2 wolagent root

Re: [leaf-user] backup suid-bit

2008-12-04 Thread Boris
Erich Titl schrieb: Boris schrieb: Erich Titl schrieb: Boris ... I have gate# less /var/lib/lrpkg/local.local var/lib/lrpkg/local.local root/.ssh home home/wolagent usr/sbin/ether-wake But still the suid-bit on ether-wake nor the changed owner on directory wolagent (in /home: chown

Re: [leaf-user] backup suid-bit

2008-12-04 Thread Erich Titl
Boris schrieb: Erich Titl schrieb: Boris schrieb: Erich Titl schrieb: Boris ... I have With chown wolagent:wolagent wolagent I have gate# l drwxr-xr-x3 root root 60 Dec 3 20:12 . drwxrwxrwt 17 root root 360 Dec 3 20:12 .. drwxr-xr-x3 wolagent

Re: [leaf-user] backup suid-bit

2008-12-04 Thread Boris
Erich Titl schrieb: Boris schrieb: Erich Titl schrieb: Boris schrieb: Erich Titl schrieb: Boris ... I have With chown wolagent:wolagent wolagent I have gate# l drwxr-xr-x3 root root 60 Dec 3 20:12 . drwxrwxrwt 17 root root 360 Dec 3 20:12 ..

[leaf-user] backup suid-bit

2008-12-02 Thread Boris
Hej all, still working on my remote-wakeonlan issue, I reached the next point of missing know-how: I need to backup the suid-bit of the ether-wake binary which I need to set by chmod u+s /usr/sbin/ether-wake because I want to execute it not as root. I'm using Bering uclibc 3.x. Thanks in