📄 pwconv.8
字号:
.\" -*- nroff -*-.\" Copyright (C) 2004 Thorsten Kukuk.\" Author: Thorsten Kukuk <kukuk@suse.de>.\".\" This program is free software; you can redistribute it and/or modify.\" it under the terms of the GNU General Public License version 2 as.\" published by the Free Software Foundation..\".\" This program is distributed in the hope that it will be useful,.\" but WITHOUT ANY WARRANTY; without even the implied warranty of.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the.\" GNU General Public License for more details..\".\" You should have received a copy of the GNU General Public License.\" along with this program; if not, write to the Free Software Foundation,.\" Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA..\".TH pwconv 8 "January 2004" "pwdutils".SH NAMEpwconv \- convert to shadow account.SH SYNOPSIS.TP 5\fBpwconv\fR [\fB-P \fIpath\fR].SH DESCRIPTION\fBpwconv\fR installs and updates \fI/etc/shadow\fR with informationfrom \fI/etc/passwd\fR. It relies on the special password 'x' in thepassword field of the account. This value indicates that the passwordfor the user is already in \fI/etc/shadow\fR and should not be modified.If \fI/etc/shadow\fR does not exist, \fBpwconv\fR creates this file,moves the user password to it and creates default aging informationswith the help of the values of \fBPASS_MIN_DAYS\fR, \fBPASS_MAX_DAYS\fRand \fBPASS_WARN_AGE\fR from \fI/etc/login.defs\fR. The password fieldin \fI/etc/passwd/fR is replaced with the special character 'x'.If the \fI/etc/shadow\fR does exist, entries that are in the\fI/etc/passwd\fR file and not in the \fI/etc/shadow\fR file will beadded to the \fI/etc/shadow\fR file. Accounts, which only exist in\fI/etc/passwd\fR, will be added to \fI/etc/shadow\fR. All passwordsfrom \fI/etc/passwd\fR will be moved to \fI/etc/shadow\fR and replacedwith the special character 'x'.\fBpwconv\fR can be used for initial conversion and for updates later..SH OPTIONS.TP.BI "\-P, \-\-path" " path"The \fIpasswd\fR and \fIshadow\fR files are located belowthe specified directory path. \fBpwconv\fR will use this files,not \fI/etc/passwd\fR and \fI/etc/shadow\fR..SH FILESpasswd \- user account information.brshadow \- shadow user account information.SH SEE ALSO.BR passwd (1),.BR login.defs (5),.BR passwd (5),.BR shadow (5),.BR pwck (8),.BR pwunconv (8).SH AUTHORThorsten Kukuk <kukuk@suse.de>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -