Reply to Re: Altering users passwords

Your name:

Reply:


Posted by 4site on 01/02/06 04:38

Colin McKinnon wrote:
[snip]
> WTF is a 'virtual server password'?

No need to be offensive!

[snip]

> OK, I guess you mean the Unix/Linux password, probably via PAM.

You guessed correctly - but WFT is PAM?

[snip]

> If you only want to
> allow vaildated users to change their own passwords, then life's a lot
> simpler and safer

....than what? And, yes, I do only want to allow this for vaildated
(sic) users.

> (but still - make sure you understand the implications).

I know that I need to be careful, thanks :(

> Use proc_open to run su -c passwd $username@localhost (or ssh
> user@localhost, followed by passwd).

OK, now we're getting somewhere - I'll have a go at using proc_open
when my brain's in gear again tomorrow and I can get my head around
using pipes...

> Alternatively write your own porgam in C using the PAM libs and set it to
> run setuid root (not recommended).

I don't know how to write C porgams (sic) !
[snip]

Thanks for your help.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация