Roundcube Community Forum

 

Change local user password (/etc/shadow) plug-in

Started by kali, October 05, 2006, 06:01:29 PM

Previous topic - Next topic

kali


kali

For anyone running this plug-in. An updated version has been posted incorporating security fixes in the core application. Please see link above for more information.

kali

Updated version available.

Also - ttt for this thread as the "other" thread was being used for plug-in questions.

pearce

I don`t know my URL, I have done all (Server Log in Attach)...

Can someone help me?

Greetz
pearce

kali

If your web server is set to use /srv/www/cgi-bin as its cgi directory - then the url will be your srv home (whatever that is) with /cgi-bin on the end. For example, if your server home for the web server is //www.srv.com, then the password utility will be at //www.srv.com/cgi-bin/chetcpasswd.cgi

Make sense?

pearce

That`s crazy. I did all you say. Because I don't know the main domain (It is the server from a friend - not mine) I put the IP in it and fill after it /cgi-bin/chetcpasswd.cgi. But he always says that the object could not be found?

But there is no error in the Log I have uploaded you. Or I can`t find andything. Do u know what to do now?

Excuse my bad english, I am German ;)

Greetz
pearce

kali

It is hard to say. Your log clearly shows that the cgi was copied to "/srv/www/cgi-bin" directory. My guess, without knowing more, is that your server is not looking at that directory for cgi scripts.

What Linux dist are you using?
What web server are you using?
Is cgi enabled on your web server?
Are you 100% sure that the web server cgi directory is "/srv/www/cgi-bin"? For example - on redhat using apache, the typical directory is /var/www/cgi-bin, but can vary for other distributions. That is most likely the issue as it "cannot find the object".


pearce

What I can say you at the Moment is that the server runs with Apache2, the version of Linux I don`t know an if srv or var. I am going to talk with my friend when he`s online.

What I can say too, is that cgi ist wherever on the server, always enabled.

I will repost here when I know the other information ;)

Thanks for your help till know ;)

pearce

It's a SusE Linux Server running with Apache2 and it`s sure that /srv/www is the right directory

For PHP Infos: http://www.fresh-designs.de/info.php

Do u know what we did wrong?

Greetz
pearce

kali

Hi Pearce,

Your server root is on /srv/www/web12/html so it is possible (if not likely) that your cgi directory is at /srv/www/web12/cgi-bin. If you have access somehow - can you take a look and see if that directory exists?

Better yet - if you can look at the httpd.conf file, look for the following directive:

ScriptAlias /cgi-bin/ "/srv/www/cgi-bin/"

That directive will tell you exactly where the cgi-bin directory is located.

pearce

/srv/www/confixx/html/cgi-bin/


Was it....Thanks very much...Now it works fine...

Greetz
pearce

kali