Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX System Administrator's Guide: Configuration Management: HP-UX 11i Version 3 > Chapter 2 Configuring System Parameters

Setting Shadow Password Mode

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

Shadow password mode is a state in which account and password security information and passwords are stored in a file, /etc/shadow, that can only be accessed by a superuser. The standard password file, /etc/passwd, retains all the other customary information, except that the password fields for all users is changed to an x.

See pwconv(1M) and shadow(4) for details.

To Switch to Shadow Password Mode

Execute the following command:

# pwconv

For each entry in /etc/passwd, the password is changed to x, and the password and password aging information are transferred to /etc/shadow.

To Switch to Standard Password Mode

Execute the following command:

# pwunconv

For each entry in /etc/shadow, the password and the password time limit information are stored in the password field of the user entry in /etc/passwd. Account aging and the password warn limit are discarded. The /etc/shadow file is deleted.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2008 Hewlett-Packard Development Company, L.P.