*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> ypchpass (1)              
Title
Content
Arch
Section
 

Contents


YPCHPASS(1)							   YPCHPASS(1)


NAME    [Toc]    [Back]

     ypchpass -	change selected	NIS passwd fields

SYNOPSIS    [Toc]    [Back]

     ypchpass [-f fullname] [-h	home] [-s shell] [name]

DESCRIPTION    [Toc]    [Back]

     Ypchpass changes selected passwd(4) fields	associated with	the user name
     (your own name by default)	in the network information service (NIS)
     passwd databases.	The passwd fields that can be modified with ypchpass
     may have different	contents from those for	the same user in the local
     /etc/passwd file.

     If	invoked	without	options, ypchpass invokes the editor named by the
     environment variable EDITOR, or vi(1) if EDITOR is	null or	unset, to edit
     a template	of selected passwd fields.  After the user has edited this
     template and changed or added appropriate field contents, ypchpass	checks
     the updated contents.  If they are	well-formed, it	updates	the NIS
     databases.	 Otherwise it prompts the user to re-edit the template.

     If	invoked	with options, ypchpass updates the NIS databases based on the
     options' arguments	and does not interactively acquire new field contents
     using an editor.

     -f	fullname     Change the	user's real name field to contain fullname.  A
		     useful convention,	observed by finger(1), divides this
		     field into	four comma-separated parts: the	user's real
		     name, office, extension, and home phone.

     -h	home	     Change the	initial	working	directory field	to home.

     -s	shell	     Change the	shell field to shell.

     Only the owner of name may	change its passwd fields.

     Use yppasswd(1) to	change a user's	password.

RESTRICTIONS    [Toc]    [Back]

     Ypchpass only works with SGI NIS masters.

SEE ALSO    [Toc]    [Back]

      
      
     ypfiles(4), rpc.passwd(1M)


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
cut IRIX cut out selected fields of each line of a file
cut HP-UX cut out (extract) selected fields of each line of a file
pwupdate Linux updates passwd and shadow NIS map
vipw Tru64 Edits the /etc/passwd file
pw_lock OpenBSD passwd file update functions
pw_mkdb OpenBSD passwd file update functions
pw_dup OpenBSD make a copy of a struct passwd
pw_setprefix NetBSD passwd file update functions
pw_abort OpenBSD passwd file update functions
pw_lock NetBSD passwd file update functions
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service