File_Passwd_Unix::save (Previous) (Next) File_Passwd_Unix::modUser

View this page in Last updated: Sun, 01 Jul 2007
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

File_Passwd_Unix::addUser()

File_Passwd_Unix::addUser() -- Add an user

Descripción

The username must start with an alphabetical character and must NOT contain any other characters than alphanumerics, the underline and dash.

If you use the 'name map' you should also use these naming in the supplied extra array, because your values would get mixed up if they are in the wrong order, which is always true if you DON'T use the 'name map'!

So be warned and USE the 'name map'!

If the passwd file is shadowed, the user will be added though, but with an 'x' as password, and a PEAR_Error will be returned, too.

Parámetro

string $user

the name of the user to add

string $pass

the password of the user to add

array $extra

extra properties of user to add

Nota

Esta función no puede ser llamada estáticamente.

File_Passwd_Unix::save (Previous) (Next) File_Passwd_Unix::modUser

Download Documentation Last updated: Sun, 01 Jul 2007
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.