LinuxAnswers - the LQ Linux tutorial section.
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, 09: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, 09:39 AM   #2
Senior Member
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 137Reputation: 137
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 09: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 10:28 PM
Can unlock screen with root password in my user account - want to change this sm1 Linux - Newbie 2 07-24-2005 05:54 AM
Password protect a website J_K9 Programming 5 07-07-2005 08:12 AM
forgot my password ? i can change the password JrLz Linux - Security 9 04-06-2004 07:36 PM
Just change Samba password, not Unix password? sorrodos Linux - Networking 1 08-14-2003 07:52 PM

All times are GMT -5. The time now is 09:36 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration