artur at cgen.com
Thu Jan 4 20:09:27 GMT 2001
Quoting mgamito at ua.pt:
> I made a C script to work with an html form to allow my users to change
> Since they use ftp and samba, i've tried to execute smbpasswd and with
> password sync in smb.conf it should work well.
> The problem is that smbpasswd must have setuid set and it doesn't run
Take a look at sudo application "http://www.courtesan.com/sudo/" . You can run
it from cgi script with root permissions and with no password. Just use
something like this
web Hostname=NOPASSWD: "YOUR APPLICATION"
in the sudo configuration file.
> Any ideas to turn this around?
> Thanks in advance.
> Mário Gamito
> pt is for Portugal
Artur Shnayder Voice: (609)655-5105 x12
System Manager Fax: (609)655-5114
Email: artur at cgen.com
Compugen Inc URL: http://www.cgen.com
More information about the samba