LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   How can I change e-mail password(or linux account password) with php in website?? (https://www.linuxquestions.org/questions/programming-9/how-can-i-change-e-mail-password-or-linux-account-password-with-php-in-website-186923/)

yusuf 05-28-2004 09:05 AM

How can I change e-mail password(or linux account password) with php in website??
 
I have an mail server. I have 200 users and users have ssh access and also have webmail. I am using fedora.

I want to change linux password via web browser.. In linux I can change or users can change password with passwd but I want to change with php in browser.

Can you help me. What can I do??

keefaz 05-28-2004 09:39 AM

PHP herits the permissions from Apache because it is an Apache module. I would try a CGI / Perl script to accomplish what you want

[ edit ]
Of course if you have configured the User Apache directive with root in httpd.conf...PHP will abble to do this but not very safe...


All times are GMT -5. The time now is 08:10 AM.