chfn man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

chfn(1)								       chfn(1)

       chfn - change user information used by finger command





       The  command changes the user information that is stored in the reposi‐
       tory for the current logged-in user or for the user specified by login-
       name (see passwd(1)).

       The  information	 is organized as four comma-separated subfields within
       the reserved (5th) field of the password file entry.   It  consists  of
       the  user's  full  name,	 location  code, office phone number, and home
       phone number, in that order.  This information is used by  the  command
       and other programs (see finger(1)).

       prompts	you  for  each subfield.  The prompt includes a default value,
       which is enclosed in brackets.  Accept the default  value  by  pressing
       the Return key.	To enter a blank subfield, type the word

       The  DCE repository is only available if Integrated Login has been con‐
       figured; see auth.adm(1M).  If Integrated Login	has  been  configured,
       other  considerations apply.  A user with appropriate DCE privileges is
       capable of modifying a user's (gecos) information; this is  not	depen‐
       dent upon superuser privileges.

       If  the	repository is not specified (as in [login-name]), the informa‐
       tion is changed in the file only.

       Run after running to make sure the information was processed correctly.

       The command is a hard link to the command.  When is executed,  actually
       the command gets executed with appropriate arguments to change the user
       gecos information in the repository specified in the command line.   If
       no  repository  is  specified,  the gecos information is changed in the

	      login-name  A login name of a user.

       The following option is recognized:

	      Specify the repository to which the operation is to be applied.
		     Supported repositories include and

   Subfield Values
	      Up to 1022 printing characters.

				  The command and other	 utilities  expand  an
				  found	 anywhere  in this subfield by substi‐
				  tuting the login name for  it	 and  shifting
				  the first letter of the login name to upper‐
				  case.	 does not alter the input

	      Up to 1022 printing characters.

	      Up to 25 printing characters.

				  inserts appropriate hyphens if the value  is
				  all digits.

	      Up to 25 printing characters.

				  inserts  appropriate hyphens if the value is
				  all digits.

   Security Restrictions
       You must have appropriate privileges to	use  the  optional  login-name
       argument to change another user's information.

       The  following  is  a sample run.  The user's input is shown in regular

       The encoding of office and extension information is installation-depen‐

       For  historical reasons, the user's name, etc., are stored in the file.
       This is an inappropriate place to store the information.

       Because two or more users may try to write the file at the same time, a
       synchronization	method	was developed.	prints a message that the file
       is busy.	 When this occurs, sleeps for a	 short	time,  then  tries  to
       write to the file again.

       was developed by the University of California, Berkeley.

       chsh(1), finger(1), passwd(1), passwd(4).


List of man pages available for HP-UX

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]
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