ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pear-general
pear-general
[PEAR] Re: File_Passwd and shadow passwords
by Michael Wallner other posts by this author
May 12 2005 1:49AM messages near this date
[PEAR] File_Passwd and shadow passwords | Re: [PEAR] Re: Problems installing PEAR under WinXP with PHP 5.0.3?
Hi Aaron Gould, you wrote:

>  Can anyone tell me if File_Passwd can work with shadow password files?
> 
>  The following snippet of code is allowing alterations to the /etc/passwd
>  file, and an "x" is inserted into the password field (which is
>  expected). Shadow remains untouched...

Sorry for the late answer, but I'm currently lacking time.

This question has been asked some time ago, please search the
archive for a wrapper function; it basically creates two
File_Passwd_Unix objects, one for /etc/passwd and one for
/etc/shadow.  Please note that you must not specify the password in
the "extra" fields and that you need to define the extra fields map
for the shadow file manually.

Regards,
--
Michael - < mike(@)php.net > 
Attachments:
signature.asc
unknown1

Thread:
Aaron Gould
Michael Wallner

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved