Unix and Linux Discussions Tagged with shadow |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
6 |
1,732 |
Shell Programming and Scripting |
|
|
|
9 |
10,527 |
Ubuntu |
|
|
|
1 |
9,275 |
Cybersecurity |
|
|
|
6 |
3,698 |
Shell Programming and Scripting |
|
|
|
2 |
4,553 |
Shell Programming and Scripting |
|
|
|
0 |
1,429 |
Security Advisories (RSS) |
|
|
|
1 |
2,374 |
Shell Programming and Scripting |
|
|
|
1 |
5,305 |
Linux |
|
|
|
3 |
6,474 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
6,576 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
15,344 |
Linux |
|
|
|
12 |
26,087 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
6,135 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,004 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
9,158 |
Cybersecurity |
|
|
|
5 |
3,369 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
14,908 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,262 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
9,672 |
UNIX for Dummies Questions & Answers |
pwconv(8) System Manager's Manual pwconv(8)
NAME
pwconv - convert to shadow account
SYNOPSIS
pwconv [-P path]
DESCRIPTION
pwconv installs and updates /etc/shadow with information from /etc/passwd. It relies on the special password 'x' in the password field of
the account. This value indicates that the password for the user is already in /etc/shadow and should not be modified.
If /etc/shadow does not exist, pwconv creates this file, moves the user password to it and creates default aging informations with the help
of the values of PASS_MIN_DAYS, PASS_MAX_DAYS and PASS_WARN_AGE from /etc/login.defs. The password field in /etc/passwd is replaced with
the special character 'x'.
If the /etc/shadow does exist, entries that are in the /etc/passwd file and not in the /etc/shadow file are added to the /etc/shadow file.
Accounts, which only exist in /etc/passwd, are added to /etc/shadow. Entries that are in /etc/shadow and not in /etc/passwd are removed
from /etc/shadow. All passwords from /etc/passwd are moved to /etc/shadow and replaced with the special character 'x'.
pwconv can be used for initial conversion and for updates later.
OPTIONS
-P, --path path
The passwd and shadow files are located below the specified directory path. pwconv will use this files, not /etc/passwd and
/etc/shadow.
FILES
passwd - user account information
shadow - shadow user account information
SEE ALSO
passwd(1), login.defs(5), passwd(5), shadow(5), pwck(8), pwunconv(8)
AUTHOR
Thorsten Kukuk <kukuk@suse.de>
pwdutils January 2004 pwconv(8)