Welcome to the most active Linux Forum on the web.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 05-28-2004, 10:05 AM   #1
LQ Newbie
Registered: May 2004
Posts: 1

Rep: Reputation: 0
Question 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??
Old 05-28-2004, 10:39 AM   #2
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,542

Rep: Reputation: 870Reputation: 870Reputation: 870Reputation: 870Reputation: 870Reputation: 870Reputation: 870
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...

Last edited by keefaz; 05-28-2004 at 10:41 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 11:28 PM
Can unlock screen with root password in my user account - want to change this sm1 Linux - Newbie 2 07-24-2005 06:54 AM
Password protect a website J_K9 Programming 5 07-07-2005 09:12 AM
forgot my password ? i can change the password JrLz Linux - Security 9 04-06-2004 08:36 PM
Just change Samba password, not Unix password? sorrodos Linux - Networking 1 08-14-2003 08:52 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:34 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration