Jump to content

Recommended Posts

Posted

Hi all,

 

I'm thinking about moving one of my clients to TCH - they're a distance learning college which has an online campus. All the students have an account and a POP3 box.

 

The current site requires the students to change passwords every 90 days for secuity reasons, and when they do, their pop3 password is updated as well.

 

Is there a way to have a PHP script change a user's POP3 password using a shell call or something? That is an absolute must if the college is to move to TCH.

 

Thanks!

 

Lewis

  • 4 weeks later...
Posted

There is no built-in programs to do this. However, since you have access to the shadow password directory of your users, you could write a php script that accepts a new password as input, computes the crypt-hash, and replaces the old hash with the new one.

Posted

TCHRobert-

Most commercial php scripts have server scripts. Like the popular Gallery and Coppermine picture galleries, SquirrelMail, etc. All these programs have php's exec() command, which runs server commands. And, these programs are encouraged here in the forums.

 

Also, here is a quote taken from http://www.totalchoicehosting.com/forums/i...showtopic=10623

 

Posted by Head Guru:

...If your scripts make server calls, fine. But if they cause issues, we will deal with it!...

 

I have not attempted to create the script that changes passwords, because I do not have any used for it. But let's say that the person that started this thread does, would that be against policy?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...