General discussion

Locked

changing password of Linux User from web

By jkonair ·
Dear Techies,
I am working on a web-application which is a web based email client on Linux Server.
I have SENDMAIL server on Linux, i want to give facility to my web-users to change their password on their own, from the web based interface.
waiting for the reply badly.

This conversation is currently closed to new comments.

7 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

changing password of Linux User from web

by stoker In reply to changing password of Linu ...

This is not the whole answer you are looking for, just some hints;
You need a cgi-wrapper that can execute a script as a different user. To do this as root is extremely risky, you really need to make sure the scripts are as secure as possible.
I would suggest to approach with a different track, keeping the e-mail users password files in a different location and execute the wrapper as another system user with access to these files only. Many of the shared-web-hosting solutions (control panels)out there do things like this, they have the wrapped scripts executed as the user of the main account, then all the mail for this domain is authenticated/fwd with content of these 'private' files.
Maybe looking for opensource control panel solutions will give some clues?
Good luck :)

Collapse -

changing password of Linux User from web

by jkonair In reply to changing password of Linu ...

will somebody please send that piece of code to execute that.

Collapse -

changing password of Linux User from web

by sukrith In reply to changing password of Linu ...

there is an utility called poppassd, it's a perl/cgi script. i have tried it 2 years back and working fine from the web.

Collapse -

changing password of Linux User from web

by jkonair In reply to changing password of Linu ...

The question was auto-closed by TechRepublic

Collapse -

changing password of Linux User from web

by seshu_p In reply to changing password of Linu ...

Hi,

You can visit www.squirrelmail.org. There is one plugin for changing the linux passwords from web.

Good luck

Collapse -

changing password of Linux User from web

by jkonair In reply to changing password of Linu ...

The question was auto-closed by TechRepublic

Collapse -

changing password of Linux User from web

by jkonair In reply to changing password of Linu ...

This question was auto closed due to inactivity

Back to Linux Forum
7 total posts (Page 1 of 1)  

Related Discussions

Related Forums