Smbpasswd and setuid

Andrew Tridgell tridge at samba.org
Sat Oct 20 03:27:02 GMT 2001


> The application would be called by my program, in a way in which no
> additional options other then the ones I have told my application can be
> specified (hardcoded in program).

then why not become root in your app before running it? Or write a
setuid wrapper?

Having the smbpasswd binary itself setuid seems unnecessary




More information about the samba-technical mailing list