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.
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
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
-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 -
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
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
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
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
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 ..
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
10 matches
Mail list logo