6.0.0-beta1
9/24/25

[#644] CPanel Passwd Driver
Summary CPanel Passwd Driver
Queue Passwd
Queue Version HEAD
Type Enhancement
State Rejected
Priority 2. Medium
Owners
Requester ryan (at) 602global (dot) com
Created 09/27/2004 (7667 days ago)
Due
Updated 09/23/2005 (7306 days ago)
Assigned 11/15/2004 (7618 days ago)
Resolved 09/23/2005 (7306 days ago)
Milestone
Patch No

History
09/23/2005 12:49:17 AM Chuck Hagenbuch Comment #9
State ⇒ Rejected
Reply to this comment
The weberver runs as nobody.
Which means we can't write to the shadow file.
09/13/2005 10:10:23 PM Jan Schneider Comment #8 Reply to this comment
These are no CGI files but the HTML output generated by these scripts.
06/16/2005 11:59:45 PM ryanwb (at) 602global (dot) com Comment #7 Reply to this comment
Is any more information needed?  Or has no one had a chance to look at 
this yet?  Tks.
03/01/2005 01:48:08 PM ryanwb (at) 602global (dot) com Comment #6 Reply to this comment
The weberver runs as nobody.



I'm unable to get an actual copy of the actual .cgi files.  So just 
have the output information I posted below.  Still looking though.
03/01/2005 01:31:07 PM ryanwb (at) 602global (dot) com Comment #5 Reply to this comment
1. My account to login to my control panel owns the shadow files.  Not 
sure what user the webserver runs as, as I don't administer it.  I 
will find out.



2. I managed to wget the .cgi files.  You can view the source of them 
below.  The latter is the form input destination of the prior.

http://mdma.ca/dekra/files/webmailpasswd.txt

http://mdma.ca/dekra/files/dowebmailpasswd.txt





Just a note to what I said below about the shadow file within the 
domain directory.  I, for example, host two websites under my one 
account.  So the shadow files for domain1.com and domain2.com are in 
/home/user49/etc/domain1.com/ and /home/user49/etc/domain2.com/ 
respectively.  Users from either domain can login into the same Horde 
install.  Just wanted to clarify a little further.



Thanks.
02/26/2005 04:29:28 PM Chuck Hagenbuch Comment #4 Reply to this comment
Two questions I can think of, Jan/others may have more:



1. What user owns the shadow file? What user does your webserver run as?



2. Can you see the contents of webmailpasswd.cgi, if it's some sort of 
perl or other script?
02/23/2005 05:29:59 PM ryanwb (at) 602global (dot) com Comment #3 Reply to this comment
User passwords hosted on a server running CPanel are kept in the 
/etc/domainname directory under their home folder.  For example:

/home/user49/etc/mydomain.com/shadow

The shadow file looks like this:

johndoe:2x6KYbPf49Ft6:::::::

janedoe:a1nP4hHTftUeU:::::::



CPanel has a default install of Horde, but users cannot change their 
password within.  They log into domain.com/webmail using their e-mail 
address and password, then are given an option to change their 
password before entering either Horde or SquirrelMail.  The change 
password link directs them to a file called webmailpasswd.cgi where 
they can type and confirm a new password.



I have my own Horde installed as I don't want users to have an option 
of mail clients.  They login directly to hore, so don't see the option 
to change password, hence the need for Passwd to function.



The link below is the only thing I can find on the subject, but 
received no response from the author, and the solution doesn't work.

http://lists.horde.org/archives/sork/Week-of-Mon-20040607/001651.html



If required, I can create an account on my CPanel server so you can 
see how it functions.



Thank you.



ryan.
02/20/2005 09:54:45 PM Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
Where and how does CPanel store its passwords, and is there an API 
available to change them from the outside?
11/15/2004 04:09:34 PM Jan Schneider State ⇒ Assigned
 
09/27/2004 03:57:48 PM ryan (at) 602global (dot) com Comment #1
Priority ⇒ 2. Medium
Type ⇒ Enhancement
Summary ⇒ CPanel Passwd Driver
Queue ⇒ Passwd
State ⇒ New
Reply to this comment
Requesting someone look into creating a new driver for Passwd for 
Horde installations on a server running CPanel.  More information can 
be found at cpanel.net.  I found a driver written for the 2.2.1 
release of Passwd, so perhaps it would just require some 
modifications.  I would be happy to test and help where I can.  Thank 
you.


Saved Queries