it seems to work, if I stop using strict, and then type in the $username
directly...
but of course thats _NOT_ good coding, and not how it's supposed to be...
if ($sb[4] != 0 and $> != $sb[4]) {
($username) = getpwuid($sb[4]);
$cmd = "su $username -c '$cmd'";
if ($sb[4] != 0 and $> != $sb[4]) {
($username) = blah_my_username;
$cmd = "su $username -c '$cmd'";
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users