[snip]
su $afduser -c "afd -a"
Try
su - $afduser -c "afd -a"
---^
Hi,
well this is what the script was before I changed it.^^
I exacetly erased this "- " because with them, I was not even able to start afd
by hand.
Without them I was able.
"su -" is very important to change to another user because with "-" can
execute/import of profile of that user. This could be the reason about
you can't run well the script.
Well ok, of course I backupped the original script, I'll switch back and try one more
time with the "- ".
Thanks
Florian
This will make su login as the user (i.e. execute its profile).
Right now, you're running this as root, in the root-environment. If
"afd" is not in root's PATH, then it cannot work.
Regards
Dominik
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems