|
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]
|