Passwords
Artur Shnayder
artur at cgen.com
Thu Jan 4 20:09:27 GMT 2001
Quoting mgamito at ua.pt:
> Hi!
>
> I made a C script to work with an html form to allow my users to change
> their
> passwords.
>
> 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
> like
> this.
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
mailing list