On Thu, 2006-07-13 at 12:14 -0300, Ethy H. Brito wrote:
> On Wed, 12 Jul 2006 18:53:56 -0300
> "Ethy H. Brito" <[EMAIL PROTECTED]> wrote:
> 
> Hi again
> 
> Can anyone help me with this, please?
> Any doc, FAQ, whatever? I am not afraid reading these.
> Google was not my friend this time (or maybe I did not know how to ask).
> 
> >     passwd program = /tmp/teste %u

Ummm, most /tmp directories have "noexec" hardwired on them.

It you do not have that, then who owns the File and is it set to runs as
the owner?

        [EMAIL PROTECTED]:tmp]$ ls -l test.sh
        -rwsr-xr-x  1 root root 20 2006-07-13 11:43 test.sh
        [EMAIL PROTECTED]:tmp]$ ls -l /usr/bin/passwd
        -rwsr-xr-x  1 root root 26616 2005-05-18 02:33 /usr/bin/passwd

in any case for these kinds of thing, are best kept to protected
filesystems. /tmp isn't a good idea. I had to remount with exec enabled.

I believe the real problem though is the fact samba is expecting the
program to be suid, if I am not mistaken.

-- 
greg, [EMAIL PROTECTED]

The technology that is 
Stronger, Better, Faster: Linux

Use Debian GNU/Linux, its a bazaar thing

NOTICE: Due to Presidential Executive Orders, the 
National Security Agency may have read this email 
without warning, warrant, or notice, and certainly 
without probable cause. They may do this without 
any judicial or legislative oversight. You have no 
recourse nor protection.

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to