php man page for kadm5_chpass_principal

Query: kadm5_chpass_principal

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

KADM5_CHPASS_PRINCIPAL(3)						 1						 KADM5_CHPASS_PRINCIPAL(3)

kadm5_chpass_principal - Changes the principal's password

SYNOPSIS
bool kadm5_chpass_principal (resource $handle, string $principal, string $password)
DESCRIPTION
kadm5_chpass_principal(3) sets the new password $password for the $principal.
PARAMETERS
o $handle - A KADM5 handle. o $principal - The principal. o $password - The new password.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1 Example of changing principal's password <?php $handle = kadm5_init_with_password("afs-1", "GONICUS.LOCAL", "admin/admin", "password"); kadm5_chpass_principal($handle, "burbach@GONICUS.LOCAL", "newpassword"); kadm5_destroy($handle); ?> PHP Documentation Group KADM5_CHPASS_PRINCIPAL(3)
Related Man Pages
kpasswd(1) - opensolaris
kpasswd(1) - sunos
kadm5_modify_principal(3) - php
kpasswd(1) - plan9
kpasswd(1) - hpux
Similar Topics in the Unix Linux Community
User Guide: Posting in the Emergency Forum
Rules for Homework &amp; Coursework Questions Forum
UNIX.COM 2017 Year End Summary
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch