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

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

Contents


pwconv(1M)							    pwconv(1M)


NAME    [Toc]    [Back]

     pwconv - install and update /etc/shadow with information from /etc/passwd

SYNOPSIS    [Toc]    [Back]

     pwconv

DESCRIPTION    [Toc]    [Back]

     The pwconv	command	creates	and updates /etc/shadow	with information from
     /etc/passwd.

     If	the /etc/shadow	file does not exist, pwconv creates /etc/shadow	with
     information from /etc/passwd.  The	command	populates /etc/shadow with the
     user's login name,	password, and password aging information.  If password
     aging information does not	exist in /etc/passwd for a given user, none is
     added to /etc/shadow.  However, the last changed information is always
     updated.

     If	the /etc/shadow	file does exist, the following tasks are performed:

     o	Entries	that are in the	/etc/passwd file and not in the	/etc/shadow
	file are added to the /etc/shadow file.

     o	Entries	that are in the	/etc/shadow file and not in the	/etc/passwd
	file are removed from /etc/shadow.

     o	Password attributes (for example, password and aging information) in
	an /etc/passwd entry are moved to the corresponding entry in
	/etc/shadow.

     The pwconv	program	is a privileged	system command that cannot be executed
     by	ordinary users.

     The contents of the /etc/passwd and /etc/shadow files are saved in
     /etc/opasswd and /etc/oshadow, respectively.  The system can be restored
     to	its preconversion state	by replacing the content of the	/etc/passwd
     file with the content of /etc/opasswd and removal of /etc/shadow (if it
     did not exist prior to the	run of pwconv) or its replacement by
     /etc/oshadow.  These files	are overwritten	each time the pwconv program
     is	run.  The use of some of the system administration tools causes	pwconv
     to	be run,	and therefore the backup files to be overwritten, each time an
     entry is added, deleted, or modified.

NOTES    [Toc]    [Back]

     pwconv does not copy NIS entries from /etc/passwd.	However, a shadow file
     can be served by NIS using	nsd (see shadow(4)).

FILES    [Toc]    [Back]

     /etc/passwd
     /etc/shadow
     /etc/opasswd
     /etc/oshadow




									Page 1






pwconv(1M)							    pwconv(1M)


SEE ALSO    [Toc]    [Back]

      
      
     passwd(1).

DIAGNOSTICS    [Toc]    [Back]

     The pwconv	command	exits with one of the following	values:

     0	  Success.
     1	  Permission denied.
     2	  Invalid command syntax.
     3	  Unexpected failure.  Conversion not done.
     4	  Unexpected failure.  Password	file(s)	missing.
     5	  Password file(s) busy.  Try again later.


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
pwconv HP-UX install, update or check the /etc/shadow file
rmboot HP-UX install, update or remove boot programs from disk
mkboot HP-UX install, update or remove boot programs from disk
ypinit HP-UX build and install Network Information Service databases
top IRIX display and update information about the top cpu processes
top FreeBSD display and update information about the top cpu processes
top OpenBSD display and update information about the top CPU processes
top HP-UX display and update information about the top processes on the system
edauth Tru64 update and list authentication and capabilities (authcap) database information (Enhanced Security)
yppasswd Tru64 Update user password in Network Information Service (NIS) password map.
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service