putpwpasswd man page on NeXTSTEP

Man page or keyword search:  
man Server   1419 pages
apropos Keyword Search (all sections)
Output format
NeXTSTEP logo
[printable version]


PUTPWPASSWD(3)							PUTPWPASSWD(3)

NAME
       putpwpasswd - change password

SYNOPSIS
       int
       putpwpasswd(
       char *username,
       char *cleartext,
       char *encrypted
       )

DESCRIPTION
       putpwpasswd  changes the encrypted password in the NetInfo database for
       the user username.  encrypted is the new encrypted value to  be	stored
       in  the	database.   cleartext  is  the	old  unencrypted  password for
       username which is normally required.  If this  value,  when  encrypted,
       does  not  match	 the  stored  encrypted	 value	for username, then the
       password cannot be changed.  The old password is not  required  if  the
       current	encrypted password for username is the null string ("") nor if
       the calling process has superuser status and is attempting to change  a
       value in a local database.

DIAGNOSTICS
       A  value	 of  one  (1)  is returned if the information was successfully
       changed.	 A value of zero (0) is returned if the information could  not
       be changed.

SEE ALSO
       crypt(3), getpwent(3), netinfo(5)

NeXT Computer, Inc.		October 8, 1990			PUTPWPASSWD(3)
[top]

List of man pages available for NeXTSTEP

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net