diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-26 16:18:36 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-26 16:18:36 +0000 |
commit | 6c3ea4f47ea280811a7fe53a22f7832e4533c9ec (patch) | |
tree | 3d7ed5da23b5dbf6f9e450dfb61642832249c31e /man/zh_CN | |
parent | Adding upstream version 1:4.13+dfsg1. (diff) | |
download | shadow-upstream.tar.xz shadow-upstream.zip |
Adding upstream version 1:4.15.2.upstream/1%4.15.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'man/zh_CN')
43 files changed, 348 insertions, 285 deletions
diff --git a/man/zh_CN/Makefile.am b/man/zh_CN/Makefile.am index e9d8f2c..a8b93a5 100644 --- a/man/zh_CN/Makefile.am +++ b/man/zh_CN/Makefile.am @@ -21,7 +21,6 @@ man_MANS = \ man8/grpconv.8 \ man8/grpunconv.8 \ man5/gshadow.5 \ - man8/lastlog.8 \ man1/login.1 \ man5/login.defs.5 \ man8/logoutd.8 \ @@ -44,6 +43,10 @@ man_MANS = \ man8/vigr.8 \ man8/vipw.8 +if ENABLE_LASTLOG +man_MANS += man8/lastlog.8 +endif + man_nopam = \ man5/limits.5 \ man5/login.access.5 \ diff --git a/man/zh_CN/Makefile.in b/man/zh_CN/Makefile.in index 58e4b9d..7f100a7 100644 --- a/man/zh_CN/Makefile.in +++ b/man/zh_CN/Makefile.in @@ -87,8 +87,9 @@ PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ -@USE_PAM_FALSE@am__append_1 = $(man_nopam) -@USE_PAM_TRUE@am__append_2 = $(man_nopam) +@ENABLE_LASTLOG_TRUE@am__append_1 = man8/lastlog.8 +@USE_PAM_FALSE@am__append_2 = $(man_nopam) +@USE_PAM_TRUE@am__append_3 = $(man_nopam) subdir = man/zh_CN ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ @@ -176,6 +177,8 @@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ +CMOCKA_CFLAGS = @CMOCKA_CFLAGS@ +CMOCKA_LIBS = @CMOCKA_LIBS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CSCOPE = @CSCOPE@ @@ -194,6 +197,7 @@ EGREP = @EGREP@ ETAGS = @ETAGS@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ +FILECMD = @FILECMD@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ @@ -209,9 +213,15 @@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBACL = @LIBACL@ +LIBADD_DL = @LIBADD_DL@ +LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ +LIBADD_DLOPEN = @LIBADD_DLOPEN@ +LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ LIBATTR = @LIBATTR@ LIBAUDIT = @LIBAUDIT@ -LIBCRACK = @LIBCRACK@ +LIBBSD = @LIBBSD@ +LIBBSD_CFLAGS = @LIBBSD_CFLAGS@ +LIBBSD_LIBS = @LIBBSD_LIBS@ LIBCRYPT = @LIBCRYPT@ LIBECONF = @LIBECONF@ LIBICONV = @LIBICONV@ @@ -227,6 +237,7 @@ LIBSUBID_ABI = @LIBSUBID_ABI@ LIBSUBID_ABI_MAJOR = @LIBSUBID_ABI_MAJOR@ LIBSUBID_ABI_MICRO = @LIBSUBID_ABI_MICRO@ LIBSUBID_ABI_MINOR = @LIBSUBID_ABI_MINOR@ +LIBSYSTEMD = @LIBSYSTEMD@ LIBTCB = @LIBTCB@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ @@ -235,6 +246,8 @@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ +LT_DLLOADERS = @LT_DLLOADERS@ +LT_DLPREOPEN = @LT_DLPREOPEN@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ @@ -257,6 +270,9 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ RANLIB = @RANLIB@ SED = @SED@ @@ -332,20 +348,22 @@ man_MANS = man1/chage.1 man1/chfn.1 man8/chgpasswd.8 man8/chpasswd.8 \ man1/chsh.1 man1/expiry.1 man5/faillog.5 man8/faillog.8 \ man3/getspnam.3 man1/gpasswd.1 man8/groupadd.8 man8/groupdel.8 \ man8/groupmems.8 man8/groupmod.8 man1/groups.1 man8/grpck.8 \ - man8/grpconv.8 man8/grpunconv.8 man5/gshadow.5 man8/lastlog.8 \ - man1/login.1 man5/login.defs.5 man8/logoutd.8 man1/newgrp.1 \ - man8/newusers.8 man8/nologin.8 man1/passwd.1 man5/passwd.5 \ - man8/pwck.8 man8/pwconv.8 man8/pwunconv.8 man1/sg.1 \ - man3/shadow.3 man5/shadow.5 man1/su.1 man5/suauth.5 \ - man8/useradd.8 man8/userdel.8 man8/usermod.8 man8/vigr.8 \ - man8/vipw.8 $(am__append_1) + man8/grpconv.8 man8/grpunconv.8 man5/gshadow.5 man1/login.1 \ + man5/login.defs.5 man8/logoutd.8 man1/newgrp.1 man8/newusers.8 \ + man8/nologin.8 man1/passwd.1 man5/passwd.5 man8/pwck.8 \ + man8/pwconv.8 man8/pwunconv.8 man1/sg.1 man3/shadow.3 \ + man5/shadow.5 man1/su.1 man5/suauth.5 man8/useradd.8 \ + man8/userdel.8 man8/usermod.8 man8/vigr.8 man8/vipw.8 \ + $(am__append_1) $(am__append_2) man_nopam = \ man5/limits.5 \ man5/login.access.5 \ man5/porttime.5 -EXTRA_DIST = $(man_MANS) man1/id.1 man8/sulogin.8 $(am__append_2) +EXTRA_DIST = $(man_MANS) man1/id.1 man8/sulogin.8 $(am__append_3) LANG = $(notdir $(CURDIR)) +@ENABLE_REGENERATE_MAN_TRUE@@HAVE_VENDORDIR_FALSE@VENDORDIR_COND = without_vendordir +@ENABLE_REGENERATE_MAN_TRUE@@HAVE_VENDORDIR_TRUE@VENDORDIR_COND = with_vendordir @ENABLE_REGENERATE_MAN_TRUE@@USE_PAM_FALSE@PAM_COND = no_pam @ENABLE_REGENERATE_MAN_TRUE@@USE_PAM_TRUE@PAM_COND = pam @ENABLE_REGENERATE_MAN_TRUE@@SHADOWGRP_FALSE@SHADOWGRP_COND = no_gshadow @@ -354,8 +372,15 @@ LANG = $(notdir $(CURDIR)) @ENABLE_REGENERATE_MAN_TRUE@@WITH_TCB_TRUE@TCB_COND = tcb @ENABLE_REGENERATE_MAN_TRUE@@USE_SHA_CRYPT_FALSE@SHA_CRYPT_COND = no_sha_crypt @ENABLE_REGENERATE_MAN_TRUE@@USE_SHA_CRYPT_TRUE@SHA_CRYPT_COND = sha_crypt +@ENABLE_REGENERATE_MAN_TRUE@@USE_BCRYPT_FALSE@BCRYPT_COND = no_bcrypt +@ENABLE_REGENERATE_MAN_TRUE@@USE_BCRYPT_TRUE@BCRYPT_COND = bcrypt +@ENABLE_REGENERATE_MAN_TRUE@@USE_YESCRYPT_FALSE@YESCRYPT_COND = no_yescrypt +@ENABLE_REGENERATE_MAN_TRUE@@USE_YESCRYPT_TRUE@YESCRYPT_COND = yescrypt @ENABLE_REGENERATE_MAN_TRUE@@ENABLE_SUBIDS_FALSE@SUBIDS_COND = no_subids @ENABLE_REGENERATE_MAN_TRUE@@ENABLE_SUBIDS_TRUE@SUBIDS_COND = subids +@ENABLE_LASTLOG_FALSE@@ENABLE_REGENERATE_MAN_TRUE@LASTLOG_COND = no_lastlog +@ENABLE_LASTLOG_TRUE@@ENABLE_REGENERATE_MAN_TRUE@@USE_PAM_FALSE@LASTLOG_COND = lastlog +@ENABLE_LASTLOG_TRUE@@ENABLE_REGENERATE_MAN_TRUE@@USE_PAM_TRUE@LASTLOG_COND = no_lastlog CLEANFILES = messages.mo login.defs.d $(EXTRA_DIST) $(addsuffix .xml,$(EXTRA_DIST)) config.xml all: all-am @@ -739,10 +764,10 @@ uninstall-man: uninstall-man1 uninstall-man3 uninstall-man5 \ @ENABLE_REGENERATE_MAN_TRUE@ cp ../config.xml $@ @ENABLE_REGENERATE_MAN_TRUE@messages.mo: ../po/$(LANG).po -@ENABLE_REGENERATE_MAN_TRUE@ msgfmt ../po/$(LANG).po -o messages.mo +@ENABLE_REGENERATE_MAN_TRUE@ msgfmt $< -o messages.mo @ENABLE_REGENERATE_MAN_TRUE@login.defs.d: -@ENABLE_REGENERATE_MAN_TRUE@ ln -sf ../login.defs.d login.defs.d +@ENABLE_REGENERATE_MAN_TRUE@ ln -sf $(srcdir)/../login.defs.d login.defs.d @ENABLE_REGENERATE_MAN_TRUE@%.xml: ../%.xml messages.mo login.defs.d @ENABLE_REGENERATE_MAN_TRUE@ if grep -q SHADOW-CONFIG-HERE $< ; then \ @@ -750,7 +775,7 @@ uninstall-man: uninstall-man1 uninstall-man3 uninstall-man5 \ @ENABLE_REGENERATE_MAN_TRUE@ else \ @ENABLE_REGENERATE_MAN_TRUE@ sed -e 's/^\(<!DOCTYPE .*docbookx.dtd"\)>/\1 [<!ENTITY % config SYSTEM "config.xml">%config;]>/' $< > $@; \ @ENABLE_REGENERATE_MAN_TRUE@ fi -@ENABLE_REGENERATE_MAN_TRUE@ itstool -d -l $(LANG) -m messages.mo -o . $@ +@ENABLE_REGENERATE_MAN_TRUE@ itstool -i $(srcdir)/../its.rules -d -l $(LANG) -m messages.mo -o . $@ @ENABLE_REGENERATE_MAN_TRUE@ sed -i 's:\(^<refentry .*\)>:\1 lang="$(LANG)">:' $@ @ENABLE_REGENERATE_MAN_TRUE@%.xml-config: %.xml @@ -761,11 +786,13 @@ uninstall-man: uninstall-man1 uninstall-man3 uninstall-man5 \ @ENABLE_REGENERATE_MAN_TRUE@ fi @ENABLE_REGENERATE_MAN_TRUE@man1/% man3/% man5/% man8/%: %.xml-config Makefile config.xml -@ENABLE_REGENERATE_MAN_TRUE@ $(XSLTPROC) --stringparam profile.condition "$(PAM_COND);$(SHADOWGRP_COND);$(TCB_COND);$(SHA_CRYPT_COND);$(SUBIDS_COND)" \ +@ENABLE_REGENERATE_MAN_TRUE@ $(XSLTPROC) --stringparam profile.condition "$(PAM_COND);$(SHADOWGRP_COND);$(TCB_COND);$(SHA_CRYPT_COND);$(BCRYPT_COND);$(YESCRYPT_COND);$(SUBIDS_COND);$(VENDORDIR_COND);$(LASTLOG_COND)" \ @ENABLE_REGENERATE_MAN_TRUE@ --param "man.authors.section.enabled" "0" \ @ENABLE_REGENERATE_MAN_TRUE@ --stringparam "man.output.base.dir" "" \ +@ENABLE_REGENERATE_MAN_TRUE@ --stringparam vendordir "$(VENDORDIR)" \ @ENABLE_REGENERATE_MAN_TRUE@ --param "man.output.in.separate.dir" "1" \ -@ENABLE_REGENERATE_MAN_TRUE@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/profile-docbook.xsl $< +@ENABLE_REGENERATE_MAN_TRUE@ --path "$(srcdir)/login.defs.d" \ +@ENABLE_REGENERATE_MAN_TRUE@ -nonet $(top_srcdir)/man/shadow-man.xsl $< @ENABLE_REGENERATE_MAN_TRUE@clean-local: @ENABLE_REGENERATE_MAN_TRUE@ rm -rf man1 man3 man5 man8 diff --git a/man/zh_CN/man1/chage.1 b/man/zh_CN/man1/chage.1 index 1383387..88d574a 100644 --- a/man/zh_CN/man1/chage.1 +++ b/man/zh_CN/man1/chage.1 @@ -2,12 +2,12 @@ .\" Title: chage .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 -.\" Manual: 用户命令 -.\" Source: shadow-utils 4.13 +.\" Date: 2024-06-21 +.\" Manual: User Commands +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "CHAGE" "1" "2022-11-08" "shadow\-utils 4\&.13" "用户命令" +.TH "CHAGE" "1" "2024-06-21" "shadow\-utils 4\&.15\&.2" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -31,7 +31,7 @@ chage \- 更改用户密码过期信息 .SH "大纲" .HP \w'\fBchage\fR\ 'u -\fBchage\fR [\fI选项\fR] \fI登录\fR +\fBchage\fR [\fIoptions\fR] \fILOGIN\fR .SH "描述" .PP The @@ -136,6 +136,12 @@ directory and use the configuration files from the directory\&. Only absolute paths are supported\&. .RE .PP +\fB\-P\fR, \fB\-\-prefix\fR\ \&\fIPREFIX_DIR\fR +.RS 4 +Apply changes to configuration files under the root filesystem found under the directory +\fIPREFIX_DIR\fR\&. This option does not chroot and is intended for preparing a cross\-compilation target\&. Some limitations: NIS and LDAP users/groups are not verified\&. PAM authentication is using the host files\&. No SELINUX support\&. +.RE +.PP \fB\-W\fR, \fB\-\-warndays\fR\ \&\fIWARN_DAYS\fR .RS 4 Set the number of days of warning before a password change is required\&. The diff --git a/man/zh_CN/man1/chfn.1 b/man/zh_CN/man1/chfn.1 index cc5b4bf..17ed971 100644 --- a/man/zh_CN/man1/chfn.1 +++ b/man/zh_CN/man1/chfn.1 @@ -2,12 +2,12 @@ .\" Title: chfn .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 -.\" Manual: 用户命令 -.\" Source: shadow-utils 4.13 +.\" Date: 2024-06-21 +.\" Manual: User Commands +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "CHFN" "1" "2022-11-08" "shadow\-utils 4\&.13" "用户命令" +.TH "CHFN" "1" "2024-06-21" "shadow\-utils 4\&.15\&.2" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -31,7 +31,7 @@ chfn \- 更改真名和信息 .SH "大纲" .HP \w'\fBchfn\fR\ 'u -\fBchfn\fR [\fI选项\fR] [\fI登录\fR] +\fBchfn\fR [\fIoptions\fR] [\fILOGIN\fR] .SH "描述" .PP The diff --git a/man/zh_CN/man1/chsh.1 b/man/zh_CN/man1/chsh.1 index f81758c..52c6dee 100644 --- a/man/zh_CN/man1/chsh.1 +++ b/man/zh_CN/man1/chsh.1 @@ -2,12 +2,12 @@ .\" Title: chsh .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 -.\" Manual: 用户命令 -.\" Source: shadow-utils 4.13 +.\" Date: 2024-06-21 +.\" Manual: User Commands +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "CHSH" "1" "2022-11-08" "shadow\-utils 4\&.13" "用户命令" +.TH "CHSH" "1" "2024-06-21" "shadow\-utils 4\&.15\&.2" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -31,7 +31,7 @@ chsh \- 更改登录 shell .SH "大纲" .HP \w'\fBchsh\fR\ 'u -\fBchsh\fR [\fI选项\fR] [\fI登录\fR] +\fBchsh\fR [\fIoptions\fR] [\fILOGIN\fR] .SH "描述" .PP The @@ -77,6 +77,12 @@ The only restriction placed on the login shell is that the command name must be in /etc/shells is discouraged since accidentally changing to a restricted shell would prevent the user from ever changing her login shell back to its original value\&. +.PP +For this reason, placing +/bin/rsh +in +/etc/shells +is discouraged since accidentally changing to a restricted shell would prevent the user from ever changing her login shell back to its original value\&. .SH "配置文件" .PP The following configuration variables in diff --git a/man/zh_CN/man1/expiry.1 b/man/zh_CN/man1/expiry.1 index 3ebd733..e4b528b 100644 --- a/man/zh_CN/man1/expiry.1 +++ b/man/zh_CN/man1/expiry.1 @@ -2,12 +2,12 @@ .\" Title: expiry .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 -.\" Manual: 用户命令 -.\" Source: shadow-utils 4.13 +.\" Date: 2024-06-21 +.\" Manual: User Commands +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "EXPIRY" "1" "2022-11-08" "shadow\-utils 4\&.13" "用户命令" +.TH "EXPIRY" "1" "2024-06-21" "shadow\-utils 4\&.15\&.2" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -31,7 +31,7 @@ expiry \- check and enforce password expiration policy .SH "大纲" .HP \w'\fBexpiry\fR\ 'u -\fBexpiry\fR \fI选项\fR +\fBexpiry\fR \fIoption\fR .SH "描述" .PP The diff --git a/man/zh_CN/man1/gpasswd.1 b/man/zh_CN/man1/gpasswd.1 index 1f4623f..8648209 100644 --- a/man/zh_CN/man1/gpasswd.1 +++ b/man/zh_CN/man1/gpasswd.1 @@ -2,12 +2,12 @@ .\" Title: gpasswd .\" Author: Rafal Maszkowski .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 -.\" Manual: 用户命令 -.\" Source: shadow-utils 4.13 +.\" Date: 2024-06-21 +.\" Manual: User Commands +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "GPASSWD" "1" "2022-11-08" "shadow\-utils 4\&.13" "用户命令" +.TH "GPASSWD" "1" "2024-06-21" "shadow\-utils 4\&.15\&.2" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -31,7 +31,7 @@ gpasswd \- administer /etc/group and /etc/gshadow .SH "大纲" .HP \w'\fBgpasswd\fR\ 'u -\fBgpasswd\fR [\fI选项\fR] \fIgroup\fR +\fBgpasswd\fR [\fIoption\fR] \fIgroup\fR .SH "描述" .PP The diff --git a/man/zh_CN/man1/groups.1 b/man/zh_CN/man1/groups.1 index 3845897..d7b66f9 100644 --- a/man/zh_CN/man1/groups.1 +++ b/man/zh_CN/man1/groups.1 @@ -2,12 +2,12 @@ .\" Title: groups .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 -.\" Manual: 用户命令 -.\" Source: shadow-utils 4.13 +.\" Date: 2024-06-21 +.\" Manual: User Commands +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "GROUPS" "1" "2022-11-08" "shadow\-utils 4\&.13" "用户命令" +.TH "GROUPS" "1" "2024-06-21" "shadow\-utils 4\&.15\&.2" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -31,7 +31,7 @@ groups \- 显示当前组名 .SH "大纲" .HP \w'\fBgroups\fR\ 'u -\fBgroups\fR [\fI用户\fR] +\fBgroups\fR [\fIuser\fR] .SH "描述" .PP The diff --git a/man/zh_CN/man1/id.1 b/man/zh_CN/man1/id.1 index 31ecf86..30f53a7 100644 --- a/man/zh_CN/man1/id.1 +++ b/man/zh_CN/man1/id.1 @@ -2,12 +2,12 @@ .\" Title: id .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 -.\" Manual: 用户命令 -.\" Source: shadow-utils 4.13 +.\" Date: 2024-06-21 +.\" Manual: User Commands +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "ID" "1" "2022-11-08" "shadow\-utils 4\&.13" "用户命令" +.TH "ID" "1" "2024-06-21" "shadow\-utils 4\&.15\&.2" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/zh_CN/man1/login.1 b/man/zh_CN/man1/login.1 index 5c43d13..03f92b8 100644 --- a/man/zh_CN/man1/login.1 +++ b/man/zh_CN/man1/login.1 @@ -2,12 +2,12 @@ .\" Title: login .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 -.\" Manual: 用户命令 -.\" Source: shadow-utils 4.13 +.\" Date: 2024-06-21 +.\" Manual: User Commands +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "LOGIN" "1" "2022-11-08" "shadow\-utils 4\&.13" "用户命令" +.TH "LOGIN" "1" "2024-06-21" "shadow\-utils 4\&.15\&.2" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -31,9 +31,9 @@ login \- 在系统上启动回话 .SH "大纲" .HP \w'\fBlogin\fR\ 'u -\fBlogin\fR [\-p] [\-h\ \fIhost\fR] [\fI用户名\fR] [\fIENV=VAR\fR...] +\fBlogin\fR [\-p] [\-h\ \fIhost\fR] [\fIusername\fR] [\fIENV=VAR\fR...] .HP \w'\fBlogin\fR\ 'u -\fBlogin\fR [\-p] [\-h\ \fIhost\fR] \-f \fI用户名\fR +\fBlogin\fR [\-p] [\-h\ \fIhost\fR] \-f \fIusername\fR .HP \w'\fBlogin\fR\ 'u \fBlogin\fR [\-p] \-r\ \fIhost\fR .SH "描述" diff --git a/man/zh_CN/man1/newgrp.1 b/man/zh_CN/man1/newgrp.1 index a66be46..f34266c 100644 --- a/man/zh_CN/man1/newgrp.1 +++ b/man/zh_CN/man1/newgrp.1 @@ -2,12 +2,12 @@ .\" Title: newgrp .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 -.\" Manual: 用户命令 -.\" Source: shadow-utils 4.13 +.\" Date: 2024-06-21 +.\" Manual: User Commands +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "NEWGRP" "1" "2022-11-08" "shadow\-utils 4\&.13" "用户命令" +.TH "NEWGRP" "1" "2024-06-21" "shadow\-utils 4\&.15\&.2" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/zh_CN/man1/passwd.1 b/man/zh_CN/man1/passwd.1 index 89e0e07..cfc0016 100644 --- a/man/zh_CN/man1/passwd.1 +++ b/man/zh_CN/man1/passwd.1 @@ -2,12 +2,12 @@ .\" Title: passwd .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 -.\" Manual: 用户命令 -.\" Source: shadow-utils 4.13 +.\" Date: 2024-06-21 +.\" Manual: User Commands +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "PASSWD" "1" "2022-11-08" "shadow\-utils 4\&.13" "用户命令" +.TH "PASSWD" "1" "2024-06-21" "shadow\-utils 4\&.15\&.2" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -31,7 +31,7 @@ passwd \- 更改用户密码 .SH "大纲" .HP \w'\fBpasswd\fR\ 'u -\fBpasswd\fR [\fI选项\fR] [\fI登录\fR] +\fBpasswd\fR [\fIoptions\fR] [\fILOGIN\fR] .SH "描述" .PP The @@ -49,44 +49,9 @@ refuses to change the password and exits\&. .PP 提示用户输入两次新密码。第二次和第一次进行比较,并且需要相同才能更改密码。 .PP -然后,测试密码的负责程度。一般来讲,密码应该包含 6 到 8 位字符,从下边的一个或多个集合中选择: -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -小写字母 -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -数字 0 到 9 -.RE -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -标点符号 -.RE -.PP -Care must be taken not to include the system default erase or kill characters\&. +Then, the password is tested for complexity\&. \fBpasswd\fR -will reject any password which is not suitably complex\&. +will reject any password which is not suitably complex\&. Care must be taken not to include the system default erase or kill characters\&. .SS "关于用户密码的提示" .PP The security of a password depends upon the strength of the encryption algorithm and the size of the key space\&. The legacy @@ -96,6 +61,8 @@ System encryption method is based on the NBS DES algorithm\&. More recent method .PP 由于粗心地或处理选择密码,会危及密码的安全。由于这个原因,您不应该选择出现在词典中或者必须要写下来才能记住的密码。密码也不应该是一个名字、许可证号、生日或者街道号。所有这些可以用于猜测来损害系统安全。 .PP +As a general guideline, passwords should be long and random\&. It\*(Aqs fine to use simple character sets, such as passwords consisting only of lowercase letters, if that helps memorizing longer passwords\&. For a password consisting only of lowercase English letters randomly chosen, and a length of 32, there are 26^32 (approximately 2^150) different possible combinations\&. Being an exponential equation, it\*(Aqs apparent that the exponent (the length) is more important than the base (the size of the character set)\&. +.PP You can find advice on how to choose a strong password on http://en\&.wikipedia\&.org/wiki/Password_strength .SH "选项" .PP @@ -175,6 +142,12 @@ directory and use the configuration files from the directory\&. Only absolute paths are supported\&. .RE .PP +\fB\-P\fR, \fB\-\-prefix\fR\ \&\fIPREFIX_DIR\fR +.RS 4 +Apply changes to configuration files under the root filesystem found under the directory +\fIPREFIX_DIR\fR\&. This option does not chroot and is intended for preparing a cross\-compilation target\&. Some limitations: NIS and LDAP users/groups are not verified\&. PAM authentication is using the host files\&. No SELINUX support\&. +.RE +.PP \fB\-S\fR, \fB\-\-status\fR .RS 4 显示账户状态信息。状态信息包含 7 个字段。首个字段是用户的登录名,第二个字段表示用户账户是否已经锁定密码(L)、没有密码 (NP)或者密码可用(P),第三个字段给出最后一次更改密码的日期。接下来的四个字段分别是密码的最小年龄、最大年龄、警告期和禁用期。这些年龄以天为单位计算。 @@ -205,6 +178,11 @@ as \fIMAX_DAYS\fR will remove checking a password\*(Aqs validity\&. .RE +.PP +\fB\-s\fR, \fB\-\-stdin\fR +.RS 4 +This option is used to indicate that passwd should read the new password from standard input, which can be a pipe\&. +.RE .SH "CAVEATS" .PP 密码复杂性检查在每台机器间不同。用户应该选择适合的尽量复杂的密码。 @@ -277,7 +255,10 @@ invalid argument to option .SH "参见" .PP \fBchpasswd\fR(8), +\fBmakepasswd\fR(1), \fBpasswd\fR(5), \fBshadow\fR(5), \fBlogin.defs\fR(5), \fBusermod\fR(8)\&. +.PP +The following web page comically (yet correctly) compares the strength of two different methods for choosing a password: "https://xkcd\&.com/936/" diff --git a/man/zh_CN/man1/sg.1 b/man/zh_CN/man1/sg.1 index daae817..163e0b2 100644 --- a/man/zh_CN/man1/sg.1 +++ b/man/zh_CN/man1/sg.1 @@ -2,12 +2,12 @@ .\" Title: sg .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 -.\" Manual: 用户命令 -.\" Source: shadow-utils 4.13 +.\" Date: 2024-06-21 +.\" Manual: User Commands +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "SG" "1" "2022-11-08" "shadow\-utils 4\&.13" "用户命令" +.TH "SG" "1" "2024-06-21" "shadow\-utils 4\&.15\&.2" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/zh_CN/man1/su.1 b/man/zh_CN/man1/su.1 index 91a304f..51cde5c 100644 --- a/man/zh_CN/man1/su.1 +++ b/man/zh_CN/man1/su.1 @@ -2,12 +2,12 @@ .\" Title: su .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 -.\" Manual: 用户命令 -.\" Source: shadow-utils 4.13 +.\" Date: 2024-06-21 +.\" Manual: User Commands +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "SU" "1" "2022-11-08" "shadow\-utils 4\&.13" "用户命令" +.TH "SU" "1" "2024-06-21" "shadow\-utils 4\&.15\&.2" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -31,7 +31,7 @@ su \- 更改用户 ID 或成为超级用户 .SH "大纲" .HP \w'\fBsu\fR\ 'u -\fBsu\fR [\fI选项\fR] [\fI\-\fR] [\fI用户名\fR\ [\ \fIargs\fR\ ]] +\fBsu\fR [\fIoptions\fR] [\fI\-\fR] [\fIusername\fR\ [\ \fIargs\fR\ ]] .SH "描述" .PP The diff --git a/man/zh_CN/man3/shadow.3 b/man/zh_CN/man3/shadow.3 index 57bb8e5..8521b3a 100644 --- a/man/zh_CN/man3/shadow.3 +++ b/man/zh_CN/man3/shadow.3 @@ -2,12 +2,12 @@ .\" Title: shadow .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 -.\" Manual: 库函数调用 -.\" Source: shadow-utils 4.13 +.\" Date: 2024-06-21 +.\" Manual: Library Calls +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "SHADOW" "3" "2022-11-08" "shadow\-utils 4\&.13" "库函数调用" +.TH "SHADOW" "3" "2024-06-21" "shadow\-utils 4\&.15\&.2" "Library Calls" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/zh_CN/man5/faillog.5 b/man/zh_CN/man5/faillog.5 index 5ac8f2b..7603c8e 100644 --- a/man/zh_CN/man5/faillog.5 +++ b/man/zh_CN/man5/faillog.5 @@ -2,12 +2,12 @@ .\" Title: faillog .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 +.\" Date: 2024-06-21 .\" Manual: File Formats and Configuration Files -.\" Source: shadow-utils 4.13 +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "FAILLOG" "5" "2022-11-08" "shadow\-utils 4\&.13" "File Formats and Configuratio" +.TH "FAILLOG" "5" "2024-06-21" "shadow\-utils 4\&.15\&.2" "File Formats and Configuratio" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/zh_CN/man5/gshadow.5 b/man/zh_CN/man5/gshadow.5 index 04ff51d..3faeb89 100644 --- a/man/zh_CN/man5/gshadow.5 +++ b/man/zh_CN/man5/gshadow.5 @@ -2,12 +2,12 @@ .\" Title: gshadow .\" Author: Nicolas Fran\(,cois <nicolas.francois@centraliens.net> .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 +.\" Date: 2024-06-21 .\" Manual: File Formats and Configuration Files -.\" Source: shadow-utils 4.13 +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "GSHADOW" "5" "2022-11-08" "shadow\-utils 4\&.13" "File Formats and Configuration" +.TH "GSHADOW" "5" "2024-06-21" "shadow\-utils 4\&.15\&.2" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -38,12 +38,12 @@ contains the shadowed information for group accounts\&. .PP 此文件的每行包含逗号分隔的如下字段: .PP -\fB组名\fR +\fBgroup name\fR .RS 4 必须是系统中已经存在的有效组。 .RE .PP -\fB加密了的密码\fR +\fBencrypted password\fR .RS 4 Refer to \fBcrypt\fR(3) @@ -63,7 +63,7 @@ This password supersedes any password specified in /etc/group\&. .RE .PP -\fB管理员\fR +\fBadministrators\fR .RS 4 必须是一个逗号分隔的用户名列表。 .sp @@ -72,7 +72,7 @@ This password supersedes any password specified in 管理员也有成员一样的权限(请看下边)。 .RE .PP -\fB成员\fR +\fBmembers\fR .RS 4 必须是一个逗号分隔的用户名列表。 .sp diff --git a/man/zh_CN/man5/limits.5 b/man/zh_CN/man5/limits.5 index b2fe040..18aa71e 100644 --- a/man/zh_CN/man5/limits.5 +++ b/man/zh_CN/man5/limits.5 @@ -2,12 +2,12 @@ .\" Title: limits .\" Author: Luca Berra .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 +.\" Date: 2024-06-21 .\" Manual: File Formats and Configuration Files -.\" Source: shadow-utils 4.13 +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "LIMITS" "5" "2022-11-08" "shadow\-utils 4\&.13" "File Formats and Configuration" +.TH "LIMITS" "5" "2024-06-21" "shadow\-utils 4\&.15\&.2" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/zh_CN/man5/login.access.5 b/man/zh_CN/man5/login.access.5 index 19ccadd..f4aaabd 100644 --- a/man/zh_CN/man5/login.access.5 +++ b/man/zh_CN/man5/login.access.5 @@ -2,12 +2,12 @@ .\" Title: login.access .\" Author: Marek Micha\(/lkiewicz .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 +.\" Date: 2024-06-21 .\" Manual: File Formats and Configuration Files -.\" Source: shadow-utils 4.13 +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "LOGIN\&.ACCESS" "5" "2022-11-08" "shadow\-utils 4\&.13" "File Formats and Configuration" +.TH "LOGIN\&.ACCESS" "5" "2024-06-21" "shadow\-utils 4\&.15\&.2" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/zh_CN/man5/login.defs.5 b/man/zh_CN/man5/login.defs.5 index 5db13e4..f53439f 100644 --- a/man/zh_CN/man5/login.defs.5 +++ b/man/zh_CN/man5/login.defs.5 @@ -2,12 +2,12 @@ .\" Title: login.defs .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 +.\" Date: 2024-06-21 .\" Manual: File Formats and Configuration Files -.\" Source: shadow-utils 4.13 +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "LOGIN\&.DEFS" "5" "2022-11-08" "shadow\-utils 4\&.13" "File Formats and Configuration" +.TH "LOGIN\&.DEFS" "5" "2024-06-21" "shadow\-utils 4\&.15\&.2" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -192,8 +192,7 @@ USERGROUPS_ENAB .PP sulogin .RS 4 -ENV_HZ -ENV_TZ +ENV_HZ ENV_TZ .RE .PP useradd diff --git a/man/zh_CN/man5/passwd.5 b/man/zh_CN/man5/passwd.5 index 13c1853..eeb6262 100644 --- a/man/zh_CN/man5/passwd.5 +++ b/man/zh_CN/man5/passwd.5 @@ -2,12 +2,12 @@ .\" Title: passwd .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 +.\" Date: 2024-06-21 .\" Manual: File Formats and Configuration Files -.\" Source: shadow-utils 4.13 +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "PASSWD" "5" "2022-11-08" "shadow\-utils 4\&.13" "File Formats and Configuration" +.TH "PASSWD" "5" "2024-06-21" "shadow\-utils 4\&.15\&.2" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/zh_CN/man5/porttime.5 b/man/zh_CN/man5/porttime.5 index 7a6b29f..3199137 100644 --- a/man/zh_CN/man5/porttime.5 +++ b/man/zh_CN/man5/porttime.5 @@ -2,12 +2,12 @@ .\" Title: porttime .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 +.\" Date: 2024-06-21 .\" Manual: File Formats and Configuration Files -.\" Source: shadow-utils 4.13 +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "PORTTIME" "5" "2022-11-08" "shadow\-utils 4\&.13" "File Formats and Configuration" +.TH "PORTTIME" "5" "2024-06-21" "shadow\-utils 4\&.15\&.2" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/zh_CN/man5/shadow.5 b/man/zh_CN/man5/shadow.5 index 4d4b090..7991081 100644 --- a/man/zh_CN/man5/shadow.5 +++ b/man/zh_CN/man5/shadow.5 @@ -2,12 +2,12 @@ .\" Title: shadow .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 +.\" Date: 2024-06-21 .\" Manual: File Formats and Configuration Files -.\" Source: shadow-utils 4.13 +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "SHADOW" "5" "2022-11-08" "shadow\-utils 4\&.13" "File Formats and Configuration" +.TH "SHADOW" "5" "2024-06-21" "shadow\-utils 4\&.15\&.2" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -38,12 +38,12 @@ is a file which contains the password information for the system\*(Aqs accounts .PP Each line of this file contains 9 fields, separated by colons (\(lq:\(rq), in the following order: .PP -\fB登录名\fR +\fBlogin name\fR .RS 4 必须是有效的账户名,且已经存在于系统中。 .RE .PP -\fB加密了的密码\fR +\fBencrypted password\fR .RS 4 This field may be empty, in which case no passwords are required to authenticate as the specified login name\&. However, some applications which read the /etc/shadow @@ -59,7 +59,7 @@ If the password field contains some string that is not a valid result of \fBcrypt\fR(3), for instance ! or *, the user will not be able to use a unix password to log in (but the user may log in the system by other means)\&. .RE .PP -\fB最后一次更改密码的日期\fR +\fBdate of last password change\fR .RS 4 The date of the last password change, expressed as the number of days since Jan 1, 1970 00:00 UTC\&. .sp @@ -68,14 +68,14 @@ The value 0 has a special meaning, which is that the user should change her pass 空字段表示密码年龄功能被禁用。 .RE .PP -\fB密码的最小年龄\fR +\fBminimum password age\fR .RS 4 最小密码年龄是指,用户一次更改密码之后,要等多长时间才再次被允许更改密码。 .sp An empty field and value 0 mean that there is no minimum password age\&. .RE .PP -\fB最大密码年龄\fR +\fBmaximum password age\fR .RS 4 最大密码年龄是指,这写天之后,用户必须更改密码。 .sp @@ -86,14 +86,14 @@ An empty field and value 0 mean that there is no minimum password age\&. 如果最大密码年龄小于最小密码年龄,用户将会不能更改密码。 .RE .PP -\fB密码警告时间段\fR +\fBpassword warning period\fR .RS 4 密码过期之前,提前警告用户的的天数(请参考上边的密码的最大年龄)。 .sp 空字段或者 0 表示没有密码警告期。 .RE .PP -\fB密码禁用期\fR +\fBpassword inactivity period\fR .RS 4 密码过期(查看上边的密码最大年龄)后,仍然接受此密码的天数(在此期间,用户应该在下次登录时修改密码)。 .sp @@ -102,7 +102,7 @@ After expiration of the password and this expiration period is elapsed, no login 空字段表示没有强制密码过期。 .RE .PP -\fB账户过期日期\fR +\fBaccount expiration date\fR .RS 4 The date of expiration of the account, expressed as the number of days since Jan 1, 1970 00:00 UTC\&. .sp @@ -113,7 +113,7 @@ Note that an account expiration differs from a password expiration\&. In case of 应该避免使用 0,因为它既能理解成永不过期也能理解成在1970年1月1日过期。 .RE .PP -\fB保留字段\fR +\fBreserved field\fR .RS 4 此字段保留作将来使用。 .RE diff --git a/man/zh_CN/man5/suauth.5 b/man/zh_CN/man5/suauth.5 index 55434bf..176649b 100644 --- a/man/zh_CN/man5/suauth.5 +++ b/man/zh_CN/man5/suauth.5 @@ -2,12 +2,12 @@ .\" Title: suauth .\" Author: Marek Micha\(/lkiewicz .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 +.\" Date: 2024-06-21 .\" Manual: File Formats and Configuration Files -.\" Source: shadow-utils 4.13 +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "SUAUTH" "5" "2022-11-08" "shadow\-utils 4\&.13" "File Formats and Configuration" +.TH "SUAUTH" "5" "2024-06-21" "shadow\-utils 4\&.15\&.2" "File Formats and Configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/zh_CN/man8/chgpasswd.8 b/man/zh_CN/man8/chgpasswd.8 index c462a32..29228e1 100644 --- a/man/zh_CN/man8/chgpasswd.8 +++ b/man/zh_CN/man8/chgpasswd.8 @@ -2,12 +2,12 @@ .\" Title: chgpasswd .\" Author: Thomas K\(/loczko <kloczek@pld.org.pl> .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 -.\" Manual: 系统管理命令 -.\" Source: shadow-utils 4.13 +.\" Date: 2024-06-21 +.\" Manual: System Management Commands +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "CHGPASSWD" "8" "2022-11-08" "shadow\-utils 4\&.13" "系统管理命令" +.TH "CHGPASSWD" "8" "2024-06-21" "shadow\-utils 4\&.15\&.2" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -31,7 +31,7 @@ chgpasswd \- 批量更新组密码 .SH "大纲" .HP \w'\fBchgpasswd\fR\ 'u -\fBchgpasswd\fR [\fI选项\fR] +\fBchgpasswd\fR [\fIoptions\fR] .SH "描述" .PP The @@ -63,7 +63,12 @@ command are: .RS 4 使用指定的方法加密密码。 .sp -可用的方法有 DES, MD5, NONE, and SHA256 或 SHA512,前提是您的 libc 支持这写方法。 +The available methods are +\fIDES\fR, +\fIMD5\fR, \fISHA256\fR, \fISHA512\fR +and +\fINONE\fR +if your libc supports these methods\&. .RE .PP \fB\-e\fR, \fB\-\-encrypted\fR @@ -94,14 +99,13 @@ directory\&. Only absolute paths are supported\&. .RS 4 使用指定次数的轮转来加密密码。 .sp -值 0 表示让系统为加密方法选择默认的轮转次数 (5000)。 +You can only use this option with crypt method: +\fISHA256\fR \fISHA512\fR .sp -会强制最小 1,000,最大 9,9999,9999 -.sp -您只可以对 SHA256 或 SHA512 使用此选项。 -.sp -By default, the number of rounds is defined by the SHA_CRYPT_MIN_ROUNDS and SHA_CRYPT_MAX_ROUNDS variables in +By default, the number of rounds for SHA256 or SHA512 is defined by the SHA_CRYPT_MIN_ROUNDS and SHA_CRYPT_MAX_ROUNDS variables in /etc/login\&.defs\&. +.sp +A minimal value of 1000 and a maximal value of 999,999,999 will be enforced for SHA256 and SHA512\&. The default number of rounds is 5000\&. .RE .SH "CAVEATS" .PP diff --git a/man/zh_CN/man8/chpasswd.8 b/man/zh_CN/man8/chpasswd.8 index fa03ab8..3729e51 100644 --- a/man/zh_CN/man8/chpasswd.8 +++ b/man/zh_CN/man8/chpasswd.8 @@ -2,12 +2,12 @@ .\" Title: chpasswd .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 -.\" Manual: 系统管理命令 -.\" Source: shadow-utils 4.13 +.\" Date: 2024-06-21 +.\" Manual: System Management Commands +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "CHPASSWD" "8" "2022-11-08" "shadow\-utils 4\&.13" "系统管理命令" +.TH "CHPASSWD" "8" "2024-06-21" "shadow\-utils 4\&.15\&.2" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -31,7 +31,7 @@ chpasswd \- 批量更新密码 .SH "大纲" .HP \w'\fBchpasswd\fR\ 'u -\fBchpasswd\fR [\fI选项\fR] +\fBchpasswd\fR [\fIoptions\fR] .SH "描述" .PP The @@ -68,7 +68,12 @@ command are: .RS 4 使用指定的方法加密密码。 .sp -可用的方法有 DES, MD5, NONE, and SHA256 或 SHA512,前提是您的 libc 支持这写方法。 +The available methods are +\fIDES\fR, +\fIMD5\fR, \fISHA256\fR, \fISHA512\fR +and +\fINONE\fR +if your libc supports these methods\&. .sp By default (if none of the \fB\-c\fR, @@ -106,22 +111,23 @@ directory and use the configuration files from the directory\&. Only absolute paths are supported\&. .RE .PP +\fB\-P\fR, \fB\-\-prefix\fR\ \&\fIPREFIX_DIR\fR +.RS 4 +Apply changes to configuration files under the root filesystem found under the directory +\fIPREFIX_DIR\fR\&. This option does not chroot and is intended for preparing a cross\-compilation target\&. Some limitations: NIS and LDAP users/groups are not verified\&. PAM authentication is using the host files\&. No SELINUX support\&. +.RE +.PP \fB\-s\fR, \fB\-\-sha\-rounds\fR\ \&\fIROUNDS\fR .RS 4 使用指定次数的轮转来加密密码。 .sp -值 0 表示让系统为加密方法选择默认的轮转次数 (5000)。 +You can only use this option with crypt method: +\fISHA256\fR \fISHA512\fR .sp -会强制最小 1,000,最大 9,9999,9999 -.sp -您只可以对 SHA256 或 SHA512 使用此选项。 -.sp -By default, the number of rounds is defined by the -\fBSHA_CRYPT_MIN_ROUNDS\fR -and -\fBSHA_CRYPT_MAX_ROUNDS\fR -variables in +By default, the number of rounds for SHA256 or SHA512 is defined by the SHA_CRYPT_MIN_ROUNDS and SHA_CRYPT_MAX_ROUNDS variables in /etc/login\&.defs\&. +.sp +A minimal value of 1000 and a maximal value of 999,999,999 will be enforced for SHA256 and SHA512\&. The default number of rounds is 5000\&. .RE .SH "CAVEATS" .PP diff --git a/man/zh_CN/man8/faillog.8 b/man/zh_CN/man8/faillog.8 index 9386374..0151be4 100644 --- a/man/zh_CN/man8/faillog.8 +++ b/man/zh_CN/man8/faillog.8 @@ -2,12 +2,12 @@ .\" Title: faillog .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 -.\" Manual: 系统管理命令 -.\" Source: shadow-utils 4.13 +.\" Date: 2024-06-21 +.\" Manual: System Management Commands +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "FAILLOG" "8" "2022-11-08" "shadow\-utils 4\&.13" "系统管理命令" +.TH "FAILLOG" "8" "2024-06-21" "shadow\-utils 4\&.15\&.2" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -31,7 +31,7 @@ faillog \- 显示登录失败记录或设置登录失败限制 .SH "大纲" .HP \w'\fBfaillog\fR\ 'u -\fBfaillog\fR [\fI选项\fR] +\fBfaillog\fR [\fIoptions\fR] .SH "描述" .PP \fBfaillog\fR diff --git a/man/zh_CN/man8/groupadd.8 b/man/zh_CN/man8/groupadd.8 index dcadcb1..5f846fc 100644 --- a/man/zh_CN/man8/groupadd.8 +++ b/man/zh_CN/man8/groupadd.8 @@ -2,12 +2,12 @@ .\" Title: groupadd .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 -.\" Manual: 系统管理命令 -.\" Source: shadow-utils 4.13 +.\" Date: 2024-06-21 +.\" Manual: System Management Commands +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "GROUPADD" "8" "2022-11-08" "shadow\-utils 4\&.13" "系统管理命令" +.TH "GROUPADD" "8" "2024-06-21" "shadow\-utils 4\&.15\&.2" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -31,7 +31,7 @@ groupadd \- 创建一个新组 .SH "大纲" .HP \w'\fBgroupadd\fR\ 'u -\fBgroupadd\fR [\fI选项\fR] \fINEWGROUP\fR +\fBgroupadd\fR [\fIOPTIONS\fR] \fINEWGROUP\fR .SH "描述" .PP The diff --git a/man/zh_CN/man8/groupdel.8 b/man/zh_CN/man8/groupdel.8 index d20b5db..6cd0f67 100644 --- a/man/zh_CN/man8/groupdel.8 +++ b/man/zh_CN/man8/groupdel.8 @@ -2,12 +2,12 @@ .\" Title: groupdel .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 -.\" Manual: 系统管理命令 -.\" Source: shadow-utils 4.13 +.\" Date: 2024-06-21 +.\" Manual: System Management Commands +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "GROUPDEL" "8" "2022-11-08" "shadow\-utils 4\&.13" "系统管理命令" +.TH "GROUPDEL" "8" "2024-06-21" "shadow\-utils 4\&.15\&.2" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -31,7 +31,7 @@ groupdel \- 删除一个组 .SH "大纲" .HP \w'\fBgroupdel\fR\ 'u -\fBgroupdel\fR [\fI选项\fR] \fIGROUP\fR +\fBgroupdel\fR [\fIoptions\fR] \fIGROUP\fR .SH "描述" .PP The diff --git a/man/zh_CN/man8/groupmems.8 b/man/zh_CN/man8/groupmems.8 index 84a3f7d..8570809 100644 --- a/man/zh_CN/man8/groupmems.8 +++ b/man/zh_CN/man8/groupmems.8 @@ -2,12 +2,12 @@ .\" Title: groupmems .\" Author: George Kraft, IV .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 -.\" Manual: 系统管理命令 -.\" Source: shadow-utils 4.13 +.\" Date: 2024-06-21 +.\" Manual: System Management Commands +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "GROUPMEMS" "8" "2022-11-08" "shadow\-utils 4\&.13" "系统管理命令" +.TH "GROUPMEMS" "8" "2024-06-21" "shadow\-utils 4\&.15\&.2" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -130,7 +130,7 @@ utility to manage their own group membership list\&. .nf $ groupadd \-r groups $ chmod 2710 groupmems - $ chown root\&.groups groupmems + $ chown root:groups groupmems $ groupmems \-g groups \-a gk4 .fi diff --git a/man/zh_CN/man8/groupmod.8 b/man/zh_CN/man8/groupmod.8 index d0df2e0..79b5648 100644 --- a/man/zh_CN/man8/groupmod.8 +++ b/man/zh_CN/man8/groupmod.8 @@ -2,12 +2,12 @@ .\" Title: groupmod .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 -.\" Manual: 系统管理命令 -.\" Source: shadow-utils 4.13 +.\" Date: 2024-06-21 +.\" Manual: System Management Commands +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "GROUPMOD" "8" "2022-11-08" "shadow\-utils 4\&.13" "系统管理命令" +.TH "GROUPMOD" "8" "2024-06-21" "shadow\-utils 4\&.15\&.2" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -31,7 +31,7 @@ groupmod \- modify a group definition on the system .SH "大纲" .HP \w'\fBgroupmod\fR\ 'u -\fBgroupmod\fR [\fI选项\fR] \fIGROUP\fR +\fBgroupmod\fR [\fIoptions\fR] \fIGROUP\fR .SH "描述" .PP The diff --git a/man/zh_CN/man8/grpck.8 b/man/zh_CN/man8/grpck.8 index a75388c..38a7a9d 100644 --- a/man/zh_CN/man8/grpck.8 +++ b/man/zh_CN/man8/grpck.8 @@ -2,12 +2,12 @@ .\" Title: grpck .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 -.\" Manual: 系统管理命令 -.\" Source: shadow-utils 4.13 +.\" Date: 2024-06-21 +.\" Manual: System Management Commands +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "GRPCK" "8" "2022-11-08" "shadow\-utils 4\&.13" "系统管理命令" +.TH "GRPCK" "8" "2024-06-21" "shadow\-utils 4\&.15\&.2" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -31,7 +31,7 @@ grpck \- 检查组文件的完整性 .SH "大纲" .HP \w'\fBgrpck\fR\ 'u -\fBgrpck\fR [选项] [\fIgroup\fR\ [\ \fIshadow\fR\ ]] +\fBgrpck\fR [options] [\fIgroup\fR\ [\ \fIshadow\fR\ ]] .SH "描述" .PP The diff --git a/man/zh_CN/man8/lastlog.8 b/man/zh_CN/man8/lastlog.8 index d3bafd0..30ab644 100644 --- a/man/zh_CN/man8/lastlog.8 +++ b/man/zh_CN/man8/lastlog.8 @@ -2,12 +2,12 @@ .\" Title: lastlog .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 -.\" Manual: 系统管理命令 -.\" Source: shadow-utils 4.13 +.\" Date: 2024-06-21 +.\" Manual: System Management Commands +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "LASTLOG" "8" "2022-11-08" "shadow\-utils 4\&.13" "系统管理命令" +.TH "LASTLOG" "8" "2024-06-21" "shadow\-utils 4\&.15\&.2" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -31,7 +31,7 @@ lastlog \- 报告所有用户的最近登录情况,或者指定用户的最近登录情况 .SH "大纲" .HP \w'\fBlastlog\fR\ 'u -\fBlastlog\fR [\fI选项\fR] +\fBlastlog\fR [\fIoptions\fR] .SH "描述" .PP \fBlastlog\fR @@ -128,5 +128,5 @@ Database times of previous user logins\&. Large gaps in UID numbers will cause the lastlog program to run longer with no output to the screen (i\&.e\&. if in lastlog database there is no entries for users with UID between 170 and 800 lastlog will appear to hang as it processes entries with UIDs 171\-799)\&. .PP Having high UIDs can create problems when handling the -<term> /var/log/lastlog</term> +/var/log/lastlog with external tools\&. Although the actual file is sparse and does not use too much space, certain applications are not designed to identify sparse files by default and may require a specific option to handle them\&. diff --git a/man/zh_CN/man8/logoutd.8 b/man/zh_CN/man8/logoutd.8 index 4481346..bded756 100644 --- a/man/zh_CN/man8/logoutd.8 +++ b/man/zh_CN/man8/logoutd.8 @@ -2,12 +2,12 @@ .\" Title: logoutd .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 -.\" Manual: 系统管理命令 -.\" Source: shadow-utils 4.13 +.\" Date: 2024-06-21 +.\" Manual: System Management Commands +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "LOGOUTD" "8" "2022-11-08" "shadow\-utils 4\&.13" "系统管理命令" +.TH "LOGOUTD" "8" "2024-06-21" "shadow\-utils 4\&.15\&.2" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/zh_CN/man8/newusers.8 b/man/zh_CN/man8/newusers.8 index 01242e3..7f31ec0 100644 --- a/man/zh_CN/man8/newusers.8 +++ b/man/zh_CN/man8/newusers.8 @@ -2,12 +2,12 @@ .\" Title: newusers .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 -.\" Manual: 系统管理命令 -.\" Source: shadow-utils 4.13 +.\" Date: 2024-06-21 +.\" Manual: System Management Commands +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "NEWUSERS" "8" "2022-11-08" "shadow\-utils 4\&.13" "系统管理命令" +.TH "NEWUSERS" "8" "2024-06-21" "shadow\-utils 4\&.15\&.2" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -31,7 +31,7 @@ newusers \- 批量更新和创建新用户 .SH "大纲" .HP \w'\fBnewusers\fR\ 'u -\fBnewusers\fR [\fI选项\fR] [\fI文件\fR] +\fBnewusers\fR [\fIoptions\fR] [\fIfile\fR] .SH "描述" .PP The @@ -168,14 +168,13 @@ directory\&. Only absolute paths are supported\&. .RS 4 使用指定次数的轮转来加密密码。 .sp -值 0 表示让系统为加密方法选择默认的轮转次数 (5000)。 +You can only use this option with crypt method: +\fISHA256\fR \fISHA512\fR .sp -会强制最小 1,000,最大 9,9999,9999 -.sp -您只可以对 SHA256 或 SHA512 使用此选项。 -.sp -By default, the number of rounds is defined by the SHA_CRYPT_MIN_ROUNDS and SHA_CRYPT_MAX_ROUNDS variables in +By default, the number of rounds for SHA256 or SHA512 is defined by the SHA_CRYPT_MIN_ROUNDS and SHA_CRYPT_MAX_ROUNDS variables in /etc/login\&.defs\&. +.sp +A minimal value of 1000 and a maximal value of 999,999,999 will be enforced for SHA256 and SHA512\&. The default is 5000\&. .RE .SH "CAVEATS" .PP diff --git a/man/zh_CN/man8/nologin.8 b/man/zh_CN/man8/nologin.8 index 286ba0f..a5cc0d2 100644 --- a/man/zh_CN/man8/nologin.8 +++ b/man/zh_CN/man8/nologin.8 @@ -2,12 +2,12 @@ .\" Title: nologin .\" Author: Nicolas Fran\(,cois <nicolas.francois@centraliens.net> .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 -.\" Manual: 系统管理命令 -.\" Source: shadow-utils 4.13 +.\" Date: 2024-06-21 +.\" Manual: System Management Commands +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "NOLOGIN" "8" "2022-11-08" "shadow\-utils 4\&.13" "系统管理命令" +.TH "NOLOGIN" "8" "2024-06-21" "shadow\-utils 4\&.15\&.2" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/zh_CN/man8/pwck.8 b/man/zh_CN/man8/pwck.8 index 4bae586..b3088a2 100644 --- a/man/zh_CN/man8/pwck.8 +++ b/man/zh_CN/man8/pwck.8 @@ -2,12 +2,12 @@ .\" Title: pwck .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 -.\" Manual: 系统管理命令 -.\" Source: shadow-utils 4.13 +.\" Date: 2024-06-21 +.\" Manual: System Management Commands +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "PWCK" "8" "2022-11-08" "shadow\-utils 4\&.13" "系统管理命令" +.TH "PWCK" "8" "2024-06-21" "shadow\-utils 4\&.15\&.2" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -31,7 +31,7 @@ pwck \- verify the integrity of password files .SH "大纲" .HP \w'\fBpwck\fR\ 'u -\fBpwck\fR [选项] [\fIPASSWORDFILE\fR\ [\ \fISHADOWFILE\fR\ ]] +\fBpwck\fR [options] [\fIPASSWORDFILE\fR\ [\ \fISHADOWFILE\fR\ ]] .SH "描述" .PP The diff --git a/man/zh_CN/man8/pwconv.8 b/man/zh_CN/man8/pwconv.8 index c519a90..cc29def 100644 --- a/man/zh_CN/man8/pwconv.8 +++ b/man/zh_CN/man8/pwconv.8 @@ -2,12 +2,12 @@ .\" Title: pwconv .\" Author: Marek Micha\(/lkiewicz .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 -.\" Manual: 系统管理命令 -.\" Source: shadow-utils 4.13 +.\" Date: 2024-06-21 +.\" Manual: System Management Commands +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "PWCONV" "8" "2022-11-08" "shadow\-utils 4\&.13" "系统管理命令" +.TH "PWCONV" "8" "2024-06-21" "shadow\-utils 4\&.15\&.2" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -31,13 +31,13 @@ pwconv, pwunconv, grpconv, grpunconv \- 在影子密码和组以及其它直接转换 .SH "大纲" .HP \w'\fBpwconv\fR\ 'u -\fBpwconv\fR [\fI选项\fR] +\fBpwconv\fR [\fIoptions\fR] .HP \w'\fBpwunconv\fR\ 'u -\fBpwunconv\fR [\fI选项\fR] +\fBpwunconv\fR [\fIoptions\fR] .HP \w'\fBgrpconv\fR\ 'u -\fBgrpconv\fR [\fI选项\fR] +\fBgrpconv\fR [\fIoptions\fR] .HP \w'\fBgrpunconv\fR\ 'u -\fBgrpunconv\fR [\fI选项\fR] +\fBgrpunconv\fR [\fIoptions\fR] .SH "描述" .PP The diff --git a/man/zh_CN/man8/sulogin.8 b/man/zh_CN/man8/sulogin.8 index e7fdf61..555b60d 100644 --- a/man/zh_CN/man8/sulogin.8 +++ b/man/zh_CN/man8/sulogin.8 @@ -2,12 +2,12 @@ .\" Title: sulogin .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 -.\" Manual: 系统管理命令 -.\" Source: shadow-utils 4.13 +.\" Date: 2024-06-21 +.\" Manual: System Management Commands +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "SULOGIN" "8" "2022-11-08" "shadow\-utils 4\&.13" "系统管理命令" +.TH "SULOGIN" "8" "2024-06-21" "shadow\-utils 4\&.15\&.2" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/man/zh_CN/man8/useradd.8 b/man/zh_CN/man8/useradd.8 index 580372e..1739175 100644 --- a/man/zh_CN/man8/useradd.8 +++ b/man/zh_CN/man8/useradd.8 @@ -2,12 +2,12 @@ .\" Title: useradd .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 -.\" Manual: 系统管理命令 -.\" Source: shadow-utils 4.13 +.\" Date: 2024-06-21 +.\" Manual: System Management Commands +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "USERADD" "8" "2022-11-08" "shadow\-utils 4\&.13" "系统管理命令" +.TH "USERADD" "8" "2024-06-21" "shadow\-utils 4\&.15\&.2" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -31,11 +31,11 @@ useradd \- 创建一个新用户或更新默认新用户信息 .SH "大纲" .HP \w'\fBuseradd\fR\ 'u -\fBuseradd\fR [\fI选项\fR] \fI登录\fR +\fBuseradd\fR [\fIoptions\fR] \fILOGIN\fR .HP \w'\fBuseradd\fR\ 'u \fBuseradd\fR \-D .HP \w'\fBuseradd\fR\ 'u -\fBuseradd\fR \-D [\fI选项\fR] +\fBuseradd\fR \-D [\fIoptions\fR] .SH "描述" .PP When invoked without the @@ -169,7 +169,11 @@ variable in .RS 4 A list of supplementary groups which the user is also a member of\&. Each group is separated from the next by a comma, with no intervening whitespace\&. The groups are subject to the same restrictions as the group given with the \fB\-g\fR -option\&. The default is for the user to belong only to the initial group\&. +option\&. The default is for the user to belong only to the initial group\&. In addition to passing in the \-G flag, you can add the option +\fBGROUPS\fR +to the file +/etc/default/useradd +which in turn will add all users to those supplementary groups\&. .RE .PP \fB\-h\fR, \fB\-\-help\fR @@ -194,6 +198,10 @@ variable in or, by default, /etc/skel\&. .sp +Absolute symlinks that link back to the skel directory will have the +/etc/skel +prefix replaced with the user\*(Aqs home directory\&. +.sp 如果可以,也复制 ACL 和扩展属性。 .RE .PP @@ -380,9 +388,21 @@ variable in .PP \fB\-Z\fR, \fB\-\-selinux\-user\fR\ \&\fISEUSER\fR .RS 4 -defines the SELinux user for the new account\&. Without this option, a SELinux uses the default user\&. Note that the shadow system doesn\*(Aqt store the selinux\-user, it uses +defines the SELinux user for the new account\&. Without this option, SELinux uses the default user\&. Note that the shadow system doesn\*(Aqt store the selinux\-user, it uses +\fBsemanage\fR(8) +for that\&. +.RE +.PP +\fB\-\-selinux\-range\fR\ \&\fISERANGE\fR +.RS 4 +defines the SELinux MLS range for the new account\&. Without this option, SELinux uses the default range\&. Note that the shadow system doesn\*(Aqt store the selinux\-range, it uses \fBsemanage\fR(8) for that\&. +.sp +This option is only valid if the +\fB\-Z\fR +(or +\fB\-\-selinux\-user\fR) option is specified\&. .RE .SS "更改默认值" .PP @@ -469,7 +489,7 @@ Usernames may contain only lower and upper case letters, digits, underscores, or \fBls\fR output\&. .PP -用户名不能超过 32 个字符长。 +用户名不能超过 256 个字符长。 .SH "配置文件" .PP The following configuration variables in diff --git a/man/zh_CN/man8/userdel.8 b/man/zh_CN/man8/userdel.8 index c6700ae..d03dd71 100644 --- a/man/zh_CN/man8/userdel.8 +++ b/man/zh_CN/man8/userdel.8 @@ -2,12 +2,12 @@ .\" Title: userdel .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 -.\" Manual: 系统管理命令 -.\" Source: shadow-utils 4.13 +.\" Date: 2024-06-21 +.\" Manual: System Management Commands +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "USERDEL" "8" "2022-11-08" "shadow\-utils 4\&.13" "系统管理命令" +.TH "USERDEL" "8" "2024-06-21" "shadow\-utils 4\&.15\&.2" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -31,7 +31,7 @@ userdel \- 删除用户账户和相关文件 .SH "大纲" .HP \w'\fBuserdel\fR\ 'u -\fBuserdel\fR [选项] \fI登录\fR +\fBuserdel\fR [options] \fILOGIN\fR .SH "描述" .PP The diff --git a/man/zh_CN/man8/usermod.8 b/man/zh_CN/man8/usermod.8 index 2b5a91d..6bc9f59 100644 --- a/man/zh_CN/man8/usermod.8 +++ b/man/zh_CN/man8/usermod.8 @@ -2,12 +2,12 @@ .\" Title: usermod .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 -.\" Manual: 系统管理命令 -.\" Source: shadow-utils 4.13 +.\" Date: 2024-06-21 +.\" Manual: System Management Commands +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "USERMOD" "8" "2022-11-08" "shadow\-utils 4\&.13" "系统管理命令" +.TH "USERMOD" "8" "2024-06-21" "shadow\-utils 4\&.15\&.2" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -31,7 +31,7 @@ usermod \- 修改一个用户账户 .SH "大纲" .HP \w'\fBusermod\fR\ 'u -\fBusermod\fR [\fI选项\fR] \fI登录\fR +\fBusermod\fR [\fIoptions\fR] \fILOGIN\fR .SH "描述" .PP The @@ -309,6 +309,18 @@ from /etc/login\&.defs\&. defines the SELinux user to be mapped with \fILOGIN\fR\&. An empty string ("") will remove the respective entry (if any)\&. Note that the shadow system doesn\*(Aqt store the selinux\-user, it uses semanage(8) for that\&. .RE +.PP +\fB\-\-selinux\-range\fR\ \&\fISERANGE\fR +.RS 4 +defines the SELinux MLS range for the new account\&. Note that the shadow system doesn\*(Aqt store the selinux\-range, it uses +\fBsemanage\fR(8) +for that\&. +.sp +This option is only valid if the +\fB\-Z\fR +(or +\fB\-\-selinux\-user\fR) option is specified\&. +.RE .SH "CAVEATS" .PP You must make certain that the named user is not executing any processes when this command is being executed if the user\*(Aqs numerical user ID, the user\*(Aqs name, or the user\*(Aqs home directory is being changed\&. @@ -336,7 +348,7 @@ Group account information .PP /etc/gshadow .RS 4 -Secure group account informatio\&. +Secure group account information .RE .PP /etc/login\&.defs diff --git a/man/zh_CN/man8/vipw.8 b/man/zh_CN/man8/vipw.8 index edc156f..c28295d 100644 --- a/man/zh_CN/man8/vipw.8 +++ b/man/zh_CN/man8/vipw.8 @@ -2,12 +2,12 @@ .\" Title: vipw .\" Author: Marek Micha\(/lkiewicz .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 -.\" Manual: 系统管理命令 -.\" Source: shadow-utils 4.13 +.\" Date: 2024-06-21 +.\" Manual: System Management Commands +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "VIPW" "8" "2022-11-08" "shadow\-utils 4\&.13" "系统管理命令" +.TH "VIPW" "8" "2024-06-21" "shadow\-utils 4\&.15\&.2" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -31,16 +31,16 @@ vipw, vigr \- 编辑密码、组、影子密码或影子组文件。 .SH "大纲" .HP \w'\fBvipw\fR\ 'u -\fBvipw\fR [\fI选项\fR] +\fBvipw\fR [\fIoptions\fR] .HP \w'\fBvigr\fR\ 'u -\fBvigr\fR [\fI选项\fR] +\fBvigr\fR [\fIoptions\fR] .SH "描述" .PP The \fBvipw\fR and \fBvigr\fR -commands edits the files +commands edit the files /etc/passwd and /etc/group, respectively\&. With the |