# # YunQiang Su , 2010, 2011, 2012. # msgid "" msgstr "" "Project-Id-Version: shadow-man-pages VERSION\n" "POT-Creation-Date: 2012-01-08 18:14+0100\n" "PO-Revision-Date: 2012-01-13 23:45+0800\n" "Last-Translator: YunQiang Su \n" "Language-Team: Chinese (simplified) \n" "Language: zh_CN\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bits\n" "Plural-Forms: nplurals=1; plural=0;\n" #: vipw.8.xml:40(refentrytitle) vipw.8.xml:47(refname) vipw.8.xml:56(command) #: login.defs.5.xml:480(term) msgid "vipw" msgstr "vipw" #: vipw.8.xml:41(manvolnum) usermod.8.xml:43(manvolnum) #: userdel.8.xml:45(manvolnum) userdel.8.xml:229(replaceable) #: useradd.8.xml:54(manvolnum) pwconv.8.xml:45(manvolnum) #: pwck.8.xml:45(manvolnum) nologin.8.xml:39(manvolnum) #: newusers.8.xml:52(manvolnum) logoutd.8.xml:39(manvolnum) #: lastlog.8.xml:40(manvolnum) grpck.8.xml:40(manvolnum) #: groupmod.8.xml:40(manvolnum) groupmems.8.xml:40(manvolnum) #: groupdel.8.xml:40(manvolnum) groupdel.8.xml:163(replaceable) #: groupadd.8.xml:42(manvolnum) faillog.8.xml:39(manvolnum) #: faillog.5.xml:92(manvolnum) chpasswd.8.xml:43(manvolnum) #: chgpasswd.8.xml:44(manvolnum) msgid "8" msgstr "8" #: vipw.8.xml:42(refmiscinfo) usermod.8.xml:44(refmiscinfo) #: userdel.8.xml:46(refmiscinfo) useradd.8.xml:55(refmiscinfo) #: pwconv.8.xml:46(refmiscinfo) pwck.8.xml:46(refmiscinfo) #: nologin.8.xml:40(refmiscinfo) newusers.8.xml:53(refmiscinfo) #: logoutd.8.xml:40(refmiscinfo) lastlog.8.xml:41(refmiscinfo) #: grpck.8.xml:41(refmiscinfo) groupmod.8.xml:41(refmiscinfo) #: groupmems.8.xml:41(refmiscinfo) groupdel.8.xml:41(refmiscinfo) #: groupadd.8.xml:43(refmiscinfo) faillog.8.xml:40(refmiscinfo) #: chpasswd.8.xml:44(refmiscinfo) chgpasswd.8.xml:45(refmiscinfo) msgid "System Management Commands" msgstr "系统管理命令" #: vipw.8.xml:43(refmiscinfo) usermod.8.xml:45(refmiscinfo) #: userdel.8.xml:47(refmiscinfo) useradd.8.xml:56(refmiscinfo) #: suauth.5.xml:41(refmiscinfo) su.1.xml:58(refmiscinfo) #: sg.1.xml:42(refmiscinfo) shadow.5.xml:41(refmiscinfo) #: shadow.3.xml:41(refmiscinfo) pwconv.8.xml:47(refmiscinfo) #: pwck.8.xml:47(refmiscinfo) porttime.5.xml:41(refmiscinfo) #: passwd.5.xml:41(refmiscinfo) passwd.1.xml:48(refmiscinfo) #: nologin.8.xml:41(refmiscinfo) newusers.8.xml:54(refmiscinfo) #: newgrp.1.xml:42(refmiscinfo) logoutd.8.xml:41(refmiscinfo) #: login.defs.5.xml:104(refmiscinfo) login.access.5.xml:42(refmiscinfo) #: login.1.xml:74(refmiscinfo) limits.5.xml:42(refmiscinfo) #: lastlog.8.xml:42(refmiscinfo) gshadow.5.xml:40(refmiscinfo) #: grpck.8.xml:42(refmiscinfo) groups.1.xml:41(refmiscinfo) #: groupmod.8.xml:42(refmiscinfo) groupmems.8.xml:42(refmiscinfo) #: groupdel.8.xml:42(refmiscinfo) groupadd.8.xml:44(refmiscinfo) #: gpasswd.1.xml:46(refmiscinfo) faillog.8.xml:41(refmiscinfo) #: faillog.5.xml:41(refmiscinfo) expiry.1.xml:45(refmiscinfo) #: chsh.1.xml:44(refmiscinfo) chpasswd.8.xml:45(refmiscinfo) #: chgpasswd.8.xml:46(refmiscinfo) chfn.1.xml:44(refmiscinfo) #: chage.1.xml:42(refmiscinfo) msgid "shadow-utils" msgstr "shadow-utils" #: vipw.8.xml:48(refname) vipw.8.xml:62(command) msgid "vigr" msgstr "vigr" #: vipw.8.xml:49(refpurpose) msgid "edit the password, group, shadow-password or shadow-group file" msgstr "编辑密码、组、影子密码或影子组文件。" #: vipw.8.xml:58(replaceable) vipw.8.xml:64(replaceable) #: usermod.8.xml:57(replaceable) userdel.8.xml:57(arg) #: useradd.8.xml:67(replaceable) useradd.8.xml:79(replaceable) #: su.1.xml:69(replaceable) pwconv.8.xml:62(replaceable) #: pwconv.8.xml:68(replaceable) pwconv.8.xml:74(replaceable) #: pwconv.8.xml:80(replaceable) pwck.8.xml:58(arg) #: passwd.1.xml:60(replaceable) newusers.8.xml:66(replaceable) #: lastlog.8.xml:54(replaceable) grpck.8.xml:53(arg) #: groupmod.8.xml:54(replaceable) groupdel.8.xml:54(replaceable) #: groupadd.8.xml:56(replaceable) faillog.8.xml:53(replaceable) #: chsh.1.xml:56(replaceable) chpasswd.8.xml:57(replaceable) #: chgpasswd.8.xml:58(replaceable) chfn.1.xml:56(replaceable) #: chage.1.xml:53(replaceable) msgid "options" msgstr "选项" #: vipw.8.xml:70(title) usermod.8.xml:64(title) userdel.8.xml:65(title) #: useradd.8.xml:85(title) suauth.5.xml:56(title) su.1.xml:80(title) #: sg.1.xml:62(title) shadow.5.xml:50(title) shadow.3.xml:99(title) #: shadow.3.xml:155(title) pwconv.8.xml:86(title) pwck.8.xml:73(title) #: porttime.5.xml:50(title) passwd.5.xml:50(title) passwd.1.xml:69(title) #: nologin.8.xml:56(title) newusers.8.xml:75(title) newgrp.1.xml:58(title) #: logoutd.8.xml:56(title) login.defs.5.xml:113(title) #: login.access.5.xml:51(title) login.1.xml:106(title) limits.5.xml:52(title) #: lastlog.8.xml:60(title) gshadow.5.xml:49(title) grpck.8.xml:64(title) #: groups.1.xml:59(title) groupmod.8.xml:61(title) groupmems.8.xml:63(title) #: groupdel.8.xml:61(title) groupadd.8.xml:65(title) gpasswd.1.xml:75(title) #: faillog.8.xml:59(title) faillog.5.xml:50(title) expiry.1.xml:63(title) #: chsh.1.xml:65(title) chpasswd.8.xml:63(title) chgpasswd.8.xml:64(title) #: chfn.1.xml:65(title) chage.1.xml:62(title) msgid "DESCRIPTION" msgstr "描述" #: vipw.8.xml:71(para) msgid "" "The vipw and vigr commands edits the " "files /etc/passwd and /etc/group, " "respectively. With the flag, they will edit the shadow " "versions of those files, /etc/shadow and /etc/" "gshadow, respectively. The programs will set the appropriate " "locks to prevent file corruption. When looking for an editor, the programs " "will first try the environment variable $VISUAL, then the " "environment variable $EDITOR, and finally the default editor, " "vi1." msgstr "" "vipwvigr 命令分别编辑 /" "etc/passwd/etc/group 文件。使用 标识时,将编辑这些文件的影子版,即分别为 /etc/shadow/etc/gshadow。这些程序将设置相应的锁,以防" "止文件损坏。寻找编辑器时,首先尝试环境变量 $VISUAL,然后是环境" "变量 $EDITOR,最后是默认编辑器 " "vi1。" #: vipw.8.xml:88(title) usermod.8.xml:72(title) userdel.8.xml:74(title) #: useradd.8.xml:103(title) su.1.xml:126(title) pwconv.8.xml:168(title) #: pwck.8.xml:157(title) passwd.1.xml:155(title) newusers.8.xml:244(title) #: login.1.xml:191(title) lastlog.8.xml:72(title) grpck.8.xml:128(title) #: groupmod.8.xml:70(title) groupmems.8.xml:78(title) groupdel.8.xml:69(title) #: groupadd.8.xml:74(title) gpasswd.1.xml:115(title) faillog.8.xml:70(title) #: expiry.1.xml:72(title) chsh.1.xml:76(title) chpasswd.8.xml:111(title) #: chgpasswd.8.xml:91(title) chfn.1.xml:92(title) chage.1.xml:72(title) msgid "OPTIONS" msgstr "选项" #: vipw.8.xml:89(para) msgid "" "The options which apply to the vipw and vigr commands are:" msgstr "" "vipwvigr 命令可以接受的选项有:" #: vipw.8.xml:95(term) msgid ", " msgstr ", " #: vipw.8.xml:97(para) msgid "Edit group database." msgstr "编辑 group 数据库。" #: vipw.8.xml:101(term) userdel.8.xml:104(term) useradd.8.xml:253(term) #: pwconv.8.xml:176(term) pwck.8.xml:167(term) passwd.1.xml:195(term) #: newusers.8.xml:262(term) lastlog.8.xml:88(term) grpck.8.xml:138(term) #: groupmod.8.xml:110(term) groupmems.8.xml:120(term) groupdel.8.xml:76(term) #: groupadd.8.xml:112(term) gpasswd.1.xml:154(term) faillog.8.xml:103(term) #: expiry.1.xml:93(term) chsh.1.xml:82(term) chpasswd.8.xml:153(term) #: chgpasswd.8.xml:117(term) chage.1.xml:110(term) msgid ", " msgstr ", " #: vipw.8.xml:103(para) userdel.8.xml:106(para) useradd.8.xml:255(para) #: pwconv.8.xml:178(para) pwck.8.xml:169(para) passwd.1.xml:197(para) #: newusers.8.xml:264(para) lastlog.8.xml:92(para) grpck.8.xml:140(para) #: groupmod.8.xml:112(para) groupmems.8.xml:122(para) groupdel.8.xml:78(para) #: groupadd.8.xml:114(para) gpasswd.1.xml:156(para) faillog.8.xml:105(para) #: expiry.1.xml:95(para) chsh.1.xml:84(para) chpasswd.8.xml:155(para) #: chgpasswd.8.xml:119(para) chfn.1.xml:151(para) chage.1.xml:112(para) msgid "Display help message and exit." msgstr "现实帮助信息并退出。" #: vipw.8.xml:107(term) msgid ", " msgstr ", " #: vipw.8.xml:109(para) msgid "Edit passwd database." msgstr "编辑 passwd 数据库。" #: vipw.8.xml:113(term) pwck.8.xml:173(term) passwd.1.xml:262(term) msgid ", " msgstr ", " #: vipw.8.xml:115(para) passwd.1.xml:266(para) msgid "Quiet mode." msgstr "安静模式。" #: vipw.8.xml:119(term) usermod.8.xml:298(term) userdel.8.xml:127(term) #: useradd.8.xml:438(term) pwconv.8.xml:182(term) pwck.8.xml:190(term) #: passwd.1.xml:282(term) newusers.8.xml:287(term) lastlog.8.xml:96(term) #: grpck.8.xml:154(term) groupmod.8.xml:161(term) groupmems.8.xml:143(term) #: groupdel.8.xml:82(term) groupadd.8.xml:187(term) faillog.8.xml:163(term) #: chsh.1.xml:88(term) chpasswd.8.xml:170(term) chgpasswd.8.xml:132(term) #: chfn.1.xml:134(term) chage.1.xml:178(term) msgid "" ", CHROOT_DIR" msgstr "" ", CHROOT_DIR" #: vipw.8.xml:124(para) usermod.8.xml:303(para) userdel.8.xml:132(para) #: useradd.8.xml:443(para) pwconv.8.xml:187(para) pwck.8.xml:195(para) #: passwd.1.xml:287(para) newusers.8.xml:292(para) lastlog.8.xml:101(para) #: grpck.8.xml:159(para) groupmod.8.xml:166(para) groupmems.8.xml:148(para) #: groupdel.8.xml:87(para) groupadd.8.xml:192(para) gpasswd.1.xml:167(para) #: faillog.8.xml:168(para) chsh.1.xml:93(para) chpasswd.8.xml:175(para) #: chgpasswd.8.xml:137(para) chfn.1.xml:139(para) chage.1.xml:183(para) #, fuzzy #| msgid "" #| "Add the user to the named group." msgid "" "Apply changes in the CHROOT_DIR directory and use " "the configuration files from the CHROOT_DIR " "directory." msgstr "" "向名为 group 的组中添加用户 user。" #: vipw.8.xml:132(term) msgid ", " msgstr ", " #: vipw.8.xml:134(para) msgid "Edit shadow or gshadow database." msgstr "编辑 shadow 或 gshadow 数据库。" #: vipw.8.xml:138(term) msgid ", " msgstr ", " #: vipw.8.xml:140(para) msgid "Indicates which user's tcb shadow file to edit." msgstr "指定要编辑哪个用户的 tcb 影子文件。" #: vipw.8.xml:147(title) usermod.8.xml:412(title) userdel.8.xml:153(title) #: useradd.8.xml:649(title) su.1.xml:320(title) sg.1.xml:79(title) #: pwconv.8.xml:209(title) pwck.8.xml:234(title) passwd.1.xml:372(title) #: newusers.8.xml:342(title) newgrp.1.xml:90(title) login.1.xml:275(title) #: grpck.8.xml:191(title) groupmod.8.xml:177(title) groupmems.8.xml:178(title) #: groupdel.8.xml:110(title) groupadd.8.xml:203(title) #: gpasswd.1.xml:246(title) chsh.1.xml:136(title) chpasswd.8.xml:223(title) #: chgpasswd.8.xml:185(title) chfn.1.xml:175(title) chage.1.xml:226(title) msgid "CONFIGURATION" msgstr "配置文件" #: vipw.8.xml:148(para) usermod.8.xml:413(para) userdel.8.xml:154(para) #: useradd.8.xml:650(para) su.1.xml:321(para) sg.1.xml:80(para) #: pwck.8.xml:235(para) passwd.1.xml:373(para) newusers.8.xml:343(para) #: newgrp.1.xml:91(para) login.1.xml:276(para) grpck.8.xml:192(para) #: groupmod.8.xml:178(para) groupmems.8.xml:179(para) groupdel.8.xml:111(para) #: groupadd.8.xml:204(para) gpasswd.1.xml:247(para) chsh.1.xml:137(para) #: chpasswd.8.xml:224(para) chgpasswd.8.xml:186(para) chfn.1.xml:176(para) #: chage.1.xml:227(para) msgid "" "The following configuration variables in /etc/login.defs change the behavior of this tool:" msgstr "" "在 /etc/login.defs 中有如下配置变量,可以用来更改此工具" "的行为:" #: vipw.8.xml:30(term) usermod.8.xml:30(term) userdel.8.xml:30(term) #: useradd.8.xml:30(term) pwconv.8.xml:30(term) pwck.8.xml:30(term) #: login.defs.5.xml:30(term) chage.1.xml:30(term) msgid " (boolean)" msgstr " (boolean)" #: vipw.8.xml:32(para) usermod.8.xml:32(para) userdel.8.xml:32(para) #: useradd.8.xml:32(para) pwconv.8.xml:32(para) pwck.8.xml:32(para) #: login.defs.5.xml:32(para) chage.1.xml:32(para) msgid "" "If yes, the tcb5 password shadowing " "scheme will be used." msgstr "" "如果 yes,将会使用 " "tcb5 影子密码方案。" #: vipw.8.xml:159(title) msgid "ENVIRONMENT" msgstr "环境变量" #: vipw.8.xml:162(option) msgid "VISUAL" msgstr "VISUAL" #: vipw.8.xml:164(para) msgid "Editor to be used." msgstr "要使用的编辑器。" #: vipw.8.xml:168(option) msgid "EDITOR" msgstr "EDITOR" #: vipw.8.xml:170(para) msgid "Editor to be used if is not set." msgstr " 没有设置的情况下,使用的编辑器。" #: vipw.8.xml:177(title) usermod.8.xml:427(title) userdel.8.xml:170(title) #: useradd.8.xml:675(title) suauth.5.xml:174(title) su.1.xml:348(title) #: sg.1.xml:91(title) shadow.5.xml:236(title) shadow.3.xml:207(title) #: pwconv.8.xml:232(title) pwck.8.xml:251(title) porttime.5.xml:111(title) #: passwd.5.xml:122(title) passwd.1.xml:390(title) newusers.8.xml:375(title) #: newgrp.1.xml:102(title) logoutd.8.xml:70(title) #: login.access.5.xml:102(title) login.1.xml:319(title) #: limits.5.xml:176(title) lastlog.8.xml:166(title) gshadow.5.xml:147(title) #: grpck.8.xml:203(title) groups.1.xml:81(title) groupmod.8.xml:189(title) #: groupmems.8.xml:190(title) groupdel.8.xml:122(title) #: groupadd.8.xml:217(title) gpasswd.1.xml:261(title) faillog.8.xml:229(title) #: faillog.5.xml:77(title) expiry.1.xml:102(title) chsh.1.xml:149(title) #: chpasswd.8.xml:239(title) chgpasswd.8.xml:200(title) chfn.1.xml:189(title) #: chage.1.xml:238(title) msgid "FILES" msgstr "文件" #: vipw.8.xml:180(filename) usermod.8.xml:430(filename) #: userdel.8.xml:173(filename) useradd.8.xml:690(filename) #: sg.1.xml:106(filename) pwck.8.xml:254(filename) #: newusers.8.xml:390(filename) newgrp.1.xml:117(filename) #: gshadow.5.xml:150(filename) grpck.8.xml:206(filename) #: groups.1.xml:84(filename) groupmod.8.xml:192(filename) #: groupmems.8.xml:193(filename) groupdel.8.xml:125(filename) #: groupadd.8.xml:220(filename) gpasswd.1.xml:53(filename) #: gpasswd.1.xml:56(filename) gpasswd.1.xml:264(filename) #: chgpasswd.8.xml:203(filename) msgid "/etc/group" msgstr "/etc/group" #: vipw.8.xml:182(para) usermod.8.xml:432(para) userdel.8.xml:175(para) #: useradd.8.xml:692(para) sg.1.xml:108(para) pwck.8.xml:256(para) #: newusers.8.xml:392(para) newgrp.1.xml:119(para) gshadow.5.xml:152(para) #: grpck.8.xml:208(para) groups.1.xml:86(para) groupmod.8.xml:194(para) #: groupmems.8.xml:195(para) groupdel.8.xml:127(para) groupadd.8.xml:222(para) #: gpasswd.1.xml:266(para) chgpasswd.8.xml:205(para) msgid "Group account information." msgstr "组账户信息。" #: vipw.8.xml:186(filename) usermod.8.xml:436(filename) #: useradd.8.xml:696(filename) sg.1.xml:112(filename) #: newusers.8.xml:396(filename) newgrp.1.xml:123(filename) #: gshadow.5.xml:156(filename) grpck.8.xml:212(filename) #: groupmod.8.xml:198(filename) groupmems.8.xml:199(filename) #: groupdel.8.xml:131(filename) groupadd.8.xml:226(filename) #: gpasswd.1.xml:57(filename) gpasswd.1.xml:270(filename) #: chgpasswd.8.xml:209(filename) msgid "/etc/gshadow" msgstr "/etc/gshadow" #: vipw.8.xml:188(para) usermod.8.xml:438(para) useradd.8.xml:698(para) #: sg.1.xml:114(para) newusers.8.xml:398(para) newgrp.1.xml:125(para) #: gshadow.5.xml:158(para) grpck.8.xml:214(para) groupmod.8.xml:200(para) #: groupdel.8.xml:133(para) groupadd.8.xml:228(para) gpasswd.1.xml:272(para) #: chgpasswd.8.xml:211(para) msgid "Secure group account information." msgstr "安全组账户信息。" #: vipw.8.xml:192(filename) usermod.8.xml:448(filename) #: userdel.8.xml:185(filename) useradd.8.xml:678(filename) #: su.1.xml:351(filename) sg.1.xml:94(filename) shadow.5.xml:239(filename) #: pwck.8.xml:260(filename) passwd.5.xml:125(filename) #: passwd.1.xml:393(filename) newusers.8.xml:378(filename) #: newgrp.1.xml:105(filename) login.1.xml:334(filename) #: grpck.8.xml:218(filename) groupmod.8.xml:210(filename) #: expiry.1.xml:105(filename) chsh.1.xml:152(filename) #: chpasswd.8.xml:242(filename) chfn.1.xml:198(filename) #: chage.1.xml:242(filename) msgid "/etc/passwd" msgstr "/etc/passwd" #: vipw.8.xml:194(para) usermod.8.xml:450(para) userdel.8.xml:187(para) #: useradd.8.xml:680(para) su.1.xml:353(para) sg.1.xml:96(para) #: shadow.5.xml:241(para) pwck.8.xml:262(para) passwd.5.xml:127(para) #: passwd.1.xml:395(para) newusers.8.xml:380(para) newgrp.1.xml:107(para) #: login.1.xml:336(para) grpck.8.xml:220(para) groupmod.8.xml:212(para) #: expiry.1.xml:107(para) chsh.1.xml:154(para) chpasswd.8.xml:244(para) #: chfn.1.xml:200(para) chage.1.xml:245(para) msgid "User account information." msgstr "用户账户信息。" #: vipw.8.xml:198(filename) usermod.8.xml:454(filename) #: userdel.8.xml:191(filename) useradd.8.xml:684(filename) #: su.1.xml:357(filename) sg.1.xml:100(filename) shadow.5.xml:245(filename) #: shadow.3.xml:210(filename) pwck.8.xml:266(filename) #: passwd.5.xml:131(filename) passwd.1.xml:399(filename) #: newusers.8.xml:384(filename) newgrp.1.xml:111(filename) #: login.1.xml:340(filename) expiry.1.xml:111(filename) #: chpasswd.8.xml:248(filename) chage.1.xml:250(filename) msgid "/etc/shadow" msgstr "/etc/shadow" #: vipw.8.xml:200(para) usermod.8.xml:456(para) userdel.8.xml:193(para) #: useradd.8.xml:686(para) su.1.xml:359(para) sg.1.xml:102(para) #: shadow.5.xml:247(para) shadow.3.xml:212(para) pwck.8.xml:268(para) #: passwd.1.xml:401(para) newusers.8.xml:386(para) newgrp.1.xml:113(para) #: login.1.xml:342(para) expiry.1.xml:113(para) chpasswd.8.xml:250(para) #: chage.1.xml:253(para) msgid "Secure user account information." msgstr "安全用户账户信息。" #: vipw.8.xml:207(title) usermod.8.xml:463(title) userdel.8.xml:278(title) #: useradd.8.xml:792(title) suauth.5.xml:203(title) su.1.xml:419(title) #: sg.1.xml:121(title) shadow.5.xml:264(title) shadow.3.xml:219(title) #: pwconv.8.xml:244(title) pwck.8.xml:326(title) porttime.5.xml:123(title) #: passwd.5.xml:150(title) passwd.1.xml:471(title) nologin.8.xml:70(title) #: newusers.8.xml:417(title) newgrp.1.xml:132(title) #: login.defs.5.xml:507(title) login.access.5.xml:114(title) #: login.1.xml:379(title) limits.5.xml:186(title) gshadow.5.xml:165(title) #: grpck.8.xml:272(title) groups.1.xml:93(title) groupmod.8.xml:270(title) #: groupmems.8.xml:208(title) groupdel.8.xml:179(title) #: groupadd.8.xml:308(title) gpasswd.1.xml:279(title) faillog.8.xml:241(title) #: faillog.5.xml:89(title) expiry.1.xml:120(title) chsh.1.xml:173(title) #: chpasswd.8.xml:269(title) chgpasswd.8.xml:224(title) chfn.1.xml:207(title) #: chage.1.xml:293(title) msgid "SEE ALSO" msgstr "参见" #: vipw.8.xml:208(para) msgid "" "vi1, group5, " "gshadow5login.defs5, passwd5, tcb5, shadow5." msgstr "" "vi1, group5, " "gshadow5login.defs5, passwd5, tcb5, shadow5." #: usermod.8.xml:42(refentrytitle) usermod.8.xml:49(refname) #: usermod.8.xml:55(command) login.defs.5.xml:471(term) msgid "usermod" msgstr "usermod" #: usermod.8.xml:50(refpurpose) msgid "modify a user account" msgstr "修改一个用户账户" #: usermod.8.xml:59(replaceable) userdel.8.xml:59(replaceable) #: useradd.8.xml:69(replaceable) passwd.1.xml:63(replaceable) #: chsh.1.xml:59(replaceable) chfn.1.xml:59(replaceable) #: chage.1.xml:56(replaceable) msgid "LOGIN" msgstr "登录" #: usermod.8.xml:65(para) msgid "" "The usermod command modifies the system account files to " "reflect the changes that are specified on the command line." msgstr "" "usermod 修改系统账户文件和在命令行上指定的相关更改。" #: usermod.8.xml:73(para) msgid "The options which apply to the usermod command are:" msgstr "usermod 可以接受的选项有:" #: usermod.8.xml:79(term) msgid ", " msgstr ", " #: usermod.8.xml:83(para) msgid "" "Add the user to the supplementary group(s). Use only with the 选项一起使用。" #: usermod.8.xml:90(term) useradd.8.xml:131(term) msgid "" ", COMMENT" msgstr "" ", COMMENT" #: usermod.8.xml:95(para) msgid "" "The new value of the user's password file comment field. It is normally " "modified using the chfn1 utility." msgstr "" "用户密码文件中注释字段的新值。通常使用 chfn1 工具对其进行修改。" #: usermod.8.xml:104(term) useradd.8.xml:144(term) msgid "" ", HOME_DIR" msgstr "" ", HOME_DIR" #: usermod.8.xml:109(para) msgid "The user's new login directory." msgstr "用户的新登录目录。" #: usermod.8.xml:112(para) msgid "" "If the option is given, the contents of the current home " "directory will be moved to the new home directory, which is created if it " "does not already exist." msgstr "" "如果给了 选项,当前主目录的内容将会移动到新主目录中,如果" "不存在,则创建。" #: usermod.8.xml:121(term) useradd.8.xml:171(term) useradd.8.xml:546(term) msgid "" ", EXPIRE_DATE" msgstr "" ", EXPIRE_DATE" #: usermod.8.xml:126(para) useradd.8.xml:176(para) msgid "" "The date on which the user account will be disabled. The date is specified " "in the format YYYY-MM-DD." msgstr "" "用户账户将被禁用的日期。日期以 YYYY-MM-DD 格" "式指定。" #: usermod.8.xml:130(para) msgid "" "An empty EXPIRE_DATE argument will disable the " "expiration of the account." msgstr "空 EXPIRE_DATE 参数将禁用账户过期。" #: usermod.8.xml:134(para) usermod.8.xml:156(para) msgid "" "This option requires a /etc/shadow file. A /" "etc/shadow entry will be created if there were none." msgstr "" "此选项需要一个 /etc/passwd 文件。如果没有,将会创建一条 " "/etc/shadow 项目。" #: usermod.8.xml:142(term) useradd.8.xml:189(term) useradd.8.xml:559(term) msgid "" ", INACTIVE" msgstr "" ", INACTIVE" #: usermod.8.xml:147(para) msgid "" "The number of days after a password expires until the account is permanently " "disabled." msgstr "密码过期之后,账户被彻底禁用之前的天数。" #: usermod.8.xml:151(para) msgid "" "A value of 0 disables the account as soon as the password has expired, and a " "value of -1 disables the feature." msgstr "0 表示密码过期时,立即禁用账户;-1 表示不使用这个功能。" #: usermod.8.xml:164(term) useradd.8.xml:209(term) useradd.8.xml:575(term) msgid "" ", GROUP" msgstr "" ", GROUP" #: usermod.8.xml:169(para) msgid "" "The group name or number of the user's new initial login group. The group " "must exist." msgstr "用户的新初始登录组的组名或数字代号。此组必须存在。" #: usermod.8.xml:173(para) msgid "" "Any file from the user's home directory owned by the previous primary group " "of the user will be owned by this new group." msgstr "用户主目录中,属于原来的主组的文件将转交新组所有。" #: usermod.8.xml:177(para) msgid "" "The group ownership of files outside of the user's home directory must be " "fixed manually." msgstr "主目录之外的文件所属的组必须手动修改。" #: usermod.8.xml:184(term) useradd.8.xml:237(term) msgid "" ", GROUP1[,GROUP2,...[,GROUPN]]]" msgstr "" ", GROUP1[,GROUP2,...[,GROUPN]]]" #: usermod.8.xml:189(para) msgid "" "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 " " option." msgstr "" "用户还属于的附加组列表。组之间使用逗号分隔,没有空格。这些组需要遵守和 " " 选项中给的组同样的限制。" #: usermod.8.xml:196(para) msgid "" "If the user is currently a member of a group which is not listed, the user " "will be removed from the group. This behaviour can be changed via the " " option, which appends the user to the current " "supplementary group list." msgstr "" "如果用户当前是一个组的成员,而这个组没有列在这里,用户将被从那个组里便删除。" "这个行为可以通过 选项修改,这使用户追加到给出的附加组列表" "中。" #: usermod.8.xml:205(term) msgid "" ", NEW_LOGIN" msgstr "" ", NEW_LOGIN" #: usermod.8.xml:210(para) msgid "" "The name of the user will be changed from LOGIN " "to NEW_LOGIN. Nothing else is changed. In " "particular, the user's home directory or mail spool should probably be " "renamed manually to reflect the new login name." msgstr "" "用户的名称将会从 LOGIN 修改为 " "NEW_LOGIN。不会更改别的任何东西。特别是,用户的主" "目录名和邮件池也需要手动修改以和新登录名对应。" #: usermod.8.xml:220(term) msgid ", " msgstr ", " #: usermod.8.xml:224(para) msgid "" "Lock a user's password. This puts a '!' in front of the encrypted password, " "effectively disabling the password. You can't use this option with or ." msgstr "" "锁定用户的密码。这会在用户加密的密码之前放置一个“!”,可以快速禁用密码。您可以" "和 配合使用此选项。" #: usermod.8.xml:230(para) msgid "" "Note: if you wish to lock the account (not only access with a password), you " "should also set the EXPIRE_DATE to " "1." msgstr "" "注意:如果希望锁定账户(不仅仅是通过密码访问),您也需要设置 " "EXPIRE_DATE1。" #: usermod.8.xml:239(term) msgid ", " msgstr ", " #: usermod.8.xml:243(para) msgid "Move the content of the user's home directory to the new location." msgstr "将用户的主目录移动到新位置。" #: usermod.8.xml:247(para) msgid "" "This option is only valid in combination with the (or " ") option." msgstr "" "这个选项只有和 (或 ) 选项组合使用" "时才有效。" #: usermod.8.xml:251(para) msgid "" "usermod will try to adapt the ownership of the files and " "to copy the modes, ACL and extended attributes, but manual changes might be " "needed afterwards." msgstr "" "usermod 会改写文件的属主并复制模式、ACL 和扩展属性,但是稍" "后也可能需要手动修改。" #: usermod.8.xml:259(term) useradd.8.xml:377(term) groupmod.8.xml:128(term) #: groupadd.8.xml:139(term) msgid ", " msgstr ", " #: usermod.8.xml:263(para) msgid "" "When used with the option, this option allows to change " "the user ID to a non-unique value." msgstr "使用 选项时,可以将用户 ID 改为非唯一的值。" #: usermod.8.xml:270(term) useradd.8.xml:389(term) groupmod.8.xml:139(term) #: groupadd.8.xml:149(term) msgid "" ", PASSWORD" msgstr "" ", PASSWORD" #: usermod.8.xml:275(para) groupmod.8.xml:144(para) msgid "" "The encrypted password, as returned by crypt3." msgstr "" "已经加密过的密码,就像 crypt3 返回的那样。" #: usermod.8.xml:280(para) useradd.8.xml:399(para) groupmod.8.xml:149(para) #: groupadd.8.xml:159(para) msgid "" "Note: This option is not recommended " "because the password (or encrypted password) will be visible by users " "listing the processes." msgstr "" "注意:不推荐使用这个选项,因为密码(或加密" "过的密码)会被用户通过列出这个过程而看到。" #: usermod.8.xml:285(para) msgid "" "The password will be written in the local /etc/passwd " "or /etc/shadow file. This might differ from the " "password database configured in your PAM configuration." msgstr "" "密码将会写到本地的 /etc/passwd/etc/" "shadow 文件。这可能会与您的机器有所不同,这根据 PAM 配置中的密码数" "据库配置而定。" #: usermod.8.xml:291(para) useradd.8.xml:404(para) groupmod.8.xml:154(para) #: groupadd.8.xml:164(para) msgid "" "You should make sure the password respects the system's password policy." msgstr "您应该确保密码符合系统的密码政策。" #: usermod.8.xml:311(term) useradd.8.xml:451(term) useradd.8.xml:596(term) #: su.1.xml:167(term) chsh.1.xml:101(term) msgid "" ", SHELL" msgstr "" ", SHELL" #: usermod.8.xml:316(para) chsh.1.xml:105(para) msgid "" "The name of the user's new login shell. Setting this field to blank causes " "the system to select the default login shell." msgstr "" "用户的新登录 shell 的名称。将此字段设置为空会让系统选择默认的登录 shell。" #: usermod.8.xml:323(term) useradd.8.xml:466(term) msgid "" ", UID" msgstr "" ", UID" #: usermod.8.xml:328(para) msgid "The new numerical value of the user's ID." msgstr "用户 ID 的新数值。" #: usermod.8.xml:331(para) msgid "" "This value must be unique, unless the option is used. " "The value must be non-negative." msgstr "" "这个值必须是唯一的,除非使用了 选项,必须是非负值。" #: usermod.8.xml:336(para) msgid "" "The user's mailbox, and any files which the user owns and which are located " "in the user's home directory will have the file user ID changed " "automatically." msgstr "用户的邮箱,用户主目录中属于此用户的文件的属主 ID 也将自动更改。" #: usermod.8.xml:341(para) msgid "" "The ownership of files outside of the user's home directory must be fixed " "manually." msgstr "用户主目录之外文件所有权必须手动修复。" #: usermod.8.xml:345(para) msgid "" "No checks will be performed with regard to the , " ", , or " " from /etc/login.defs." msgstr "" "不会对 /etc/login.defs 中的 , " ", 和 " " 进行检查。" #: usermod.8.xml:354(term) msgid ", " msgstr ", " #: usermod.8.xml:358(para) msgid "" "Unlock a user's password. This removes the '!' in front of the encrypted " "password. You can't use this option with or 配合使用。" #: usermod.8.xml:363(para) msgid "" "Note: if you wish to unlock the account (not only access with a password), " "you should also set the EXPIRE_DATE (for example " "to 99999, or to the value " "from /etc/default/useradd)." msgstr "" "注意:如果您希望解锁账户(不只是使用密码访问),您也应该设置 " "EXPIRE_DATE (例如设置为 99999,或者 /etc/default/useradd 中的 " " 值)。" #: usermod.8.xml:374(term) useradd.8.xml:502(term) msgid "" ", SEUSER" msgstr "" ", SEUSER" #: usermod.8.xml:379(para) msgid "The new SELinux user for the user's login." msgstr "用户登陆的 SELinux 用户。" #: usermod.8.xml:382(para) msgid "" "A blank SEUSER will remove the SELinux user " "mapping for user LOGIN (if any)." msgstr "" "空的 SEUSER 将移除用户 LOGIN 的 SELinux 用户映射(如果有)。" #: usermod.8.xml:393(title) userdel.8.xml:251(title) useradd.8.xml:625(title) #: su.1.xml:312(title) shadow.3.xml:199(title) passwd.1.xml:354(title) #: newusers.8.xml:330(title) login.1.xml:241(title) lastlog.8.xml:178(title) #: groupdel.8.xml:98(title) groupadd.8.xml:241(title) gpasswd.1.xml:234(title) #: faillog.8.xml:218(title) chpasswd.8.xml:215(title) #: chgpasswd.8.xml:173(title) msgid "CAVEATS" msgstr "CAVEATS" #: usermod.8.xml:394(para) msgid "" "You must make certain that the named user is not executing any processes " "when this command is being executed if the user's numerical user ID, the " "user's name, or the user's home directory is being changed. " "usermod checks this on Linux, but only check if the user " "is logged in according to utmp on other architectures." msgstr "" "如果要更改用户的数字 ID、用户名或主目录,需要确保允许命令时,用户没有执行任何" "进程。usermod 会在 Linux 上进行检查;但是在其它平台上,仅" "仅根据 utmp 检查用户是否已经登录。" #: usermod.8.xml:402(para) msgid "" "You must change the owner of any crontab files or " "at jobs manually." msgstr "" "您必须手动更改 crontab 文件或 at 作业的" "属主。" #: usermod.8.xml:406(para) msgid "You must make any changes involving NIS on the NIS server." msgstr "您必须更改 NIS 服务器上的 NIS 相关内容。" #: usermod.8.xml:32(term) userdel.8.xml:32(term) useradd.8.xml:32(term) #: su.1.xml:32(term) login.defs.5.xml:32(term) login.1.xml:32(term) msgid " (string)" msgstr " (string)" #: usermod.8.xml:34(para) userdel.8.xml:34(para) useradd.8.xml:34(para) #: su.1.xml:34(para) login.defs.5.xml:34(para) login.1.xml:34(para) msgid "" "The mail spool directory. This is needed to manipulate the mailbox when its " "corresponding user account is modified or deleted. If not specified, a " "compile-time default is used." msgstr "" "邮箱目录。修改或删除用户账户时需要处理邮箱,如果没有指定,将使用编译时指定的" "默认值。" #: usermod.8.xml:41(term) userdel.8.xml:41(term) useradd.8.xml:41(term) #: su.1.xml:41(term) login.defs.5.xml:41(term) login.1.xml:41(term) msgid " (string)" msgstr " (string)" #: usermod.8.xml:43(para) userdel.8.xml:43(para) useradd.8.xml:43(para) #: su.1.xml:43(para) login.defs.5.xml:43(para) login.1.xml:43(para) msgid "" "Defines the location of the users mail spool files relatively to their home " "directory." msgstr "定义用户邮箱文件的位置(相对于主目录)。" #. FIXME: MAIL_FILE not used in useradd #: usermod.8.xml:50(para) userdel.8.xml:50(para) useradd.8.xml:50(para) #: su.1.xml:50(para) login.defs.5.xml:50(para) login.1.xml:50(para) msgid "" "The and variables are " "used by useradd, usermod, and " "userdel to create, move, or delete the user's mail spool." msgstr "" " and 变量由 " "useraddusermoduserdel 用于创建、移动或删除用户邮箱。" #: usermod.8.xml:56(para) userdel.8.xml:56(para) useradd.8.xml:56(para) #: su.1.xml:56(para) login.defs.5.xml:56(para) login.1.xml:56(para) msgid "" "If is set to yes, they are also used to define the MAIL " "environment variable." msgstr "" "如果 设置为 yes," "它们也被用于定义 MAIL 环境变量。" #: usermod.8.xml:30(term) userdel.8.xml:30(term) useradd.8.xml:30(term) #: pwconv.8.xml:30(term) newusers.8.xml:30(term) login.defs.5.xml:30(term) #: grpck.8.xml:30(term) groupmod.8.xml:30(term) groupmems.8.xml:30(term) #: groupdel.8.xml:30(term) groupadd.8.xml:30(term) gpasswd.1.xml:30(term) #: chgpasswd.8.xml:30(term) msgid " (number)" msgstr " (number)" #: usermod.8.xml:32(para) userdel.8.xml:32(para) useradd.8.xml:32(para) #: pwconv.8.xml:32(para) newusers.8.xml:32(para) login.defs.5.xml:32(para) #: grpck.8.xml:32(para) groupmod.8.xml:32(para) groupmems.8.xml:32(para) #: groupdel.8.xml:32(para) groupadd.8.xml:32(para) gpasswd.1.xml:32(para) #: chgpasswd.8.xml:32(para) msgid "" "Maximum members per group entry. When the maximum is reached, a new group " "entry (line) is started in /etc/group (with the same " "name, same password, and same GID)." msgstr "" "每个组条目的最大成员数。达到最大值时,在 /etc/group 开始" "一个新条目(行)(使用同样的名称,同样的密码,同样的 GID)。" #: usermod.8.xml:37(para) userdel.8.xml:37(para) useradd.8.xml:37(para) #: pwconv.8.xml:37(para) newusers.8.xml:37(para) login.defs.5.xml:37(para) #: grpck.8.xml:37(para) groupmod.8.xml:37(para) groupmems.8.xml:37(para) #: groupdel.8.xml:37(para) groupadd.8.xml:37(para) gpasswd.1.xml:37(para) #: chgpasswd.8.xml:37(para) msgid "" "The default value is 0, meaning that there are no limits in the number of " "members in a group." msgstr "默认值是 0,意味着组中的成员数没有限制。" #. Note: on HP, split groups have the same ID, but different #. names. #: usermod.8.xml:43(para) userdel.8.xml:43(para) useradd.8.xml:43(para) #: pwconv.8.xml:43(para) newusers.8.xml:43(para) login.defs.5.xml:43(para) #: grpck.8.xml:43(para) groupmod.8.xml:43(para) groupmems.8.xml:43(para) #: groupdel.8.xml:43(para) groupadd.8.xml:43(para) gpasswd.1.xml:43(para) #: chgpasswd.8.xml:43(para) msgid "" "This feature (split group) permits to limit the length of lines in the group " "file. This is useful to make sure that lines for NIS groups are not larger " "than 1024 characters." msgstr "" "此功能(分割组)允许限制组文件中的行长度。这对于确保 NIS 组的行比长于 1024 字" "符。" #: usermod.8.xml:48(para) userdel.8.xml:48(para) useradd.8.xml:48(para) #: pwconv.8.xml:48(para) newusers.8.xml:48(para) login.defs.5.xml:48(para) #: grpck.8.xml:48(para) groupmod.8.xml:48(para) groupmems.8.xml:48(para) #: groupdel.8.xml:48(para) groupadd.8.xml:48(para) gpasswd.1.xml:48(para) #: chgpasswd.8.xml:48(para) msgid "If you need to enforce such limit, you can use 25." msgstr "如果要强制这个限制,可以使用 25。" #: usermod.8.xml:51(para) userdel.8.xml:51(para) useradd.8.xml:51(para) #: pwconv.8.xml:51(para) newusers.8.xml:51(para) login.defs.5.xml:51(para) #: grpck.8.xml:51(para) groupmod.8.xml:51(para) groupmems.8.xml:51(para) #: groupdel.8.xml:51(para) groupadd.8.xml:51(para) gpasswd.1.xml:51(para) #: chgpasswd.8.xml:51(para) msgid "" "Note: split groups may not be supported by all tools (even in the Shadow " "toolsuite). You should not use this variable unless you really need it." msgstr "" "注意:分割组可能不受所有工具的支持(甚至在 Shadow 工具集中)。您不应该使用这个" "变量,除非真的需要。" #: usermod.8.xml:30(term) userdel.8.xml:30(term) useradd.8.xml:30(term) #: pwck.8.xml:30(term) login.defs.5.xml:30(term) msgid " (boolean)" msgstr " (boolean)" #: usermod.8.xml:37(programlisting) userdel.8.xml:37(programlisting) #: useradd.8.xml:37(programlisting) pwck.8.xml:37(programlisting) #: login.defs.5.xml:37(programlisting) #, no-wrap msgid "" "\n" "if ( UID is less than 1000) {\n" " use /etc/tcb/user\n" "} else if ( UID is less than 1000000) {\n" " kilos = UID / 1000\n" " use /etc/tcb/:kilos/user\n" " make symlink /etc/tcb/user to the above directory\n" "} else {\n" " megas = UID / 1000000\n" " kilos = ( UID / megas * 1000000 ) / 1000\n" " use /etc/tcb/:megas/:kilos/user\n" " make symlink /etc/tcb/user to the above directory\n" "}\n" " " msgstr "" "\n" "if ( UID is less than 1000) {\n" " use /etc/tcb/user\n" "} else if ( UID is less than 1000000) {\n" " kilos = UID / 1000\n" " use /etc/tcb/:kilos/user\n" " make symlink /etc/tcb/user to the above directory\n" "} else {\n" " megas = UID / 1000000\n" " kilos = ( UID / megas * 1000000 ) / 1000\n" " use /etc/tcb/:megas/:kilos/user\n" " make symlink /etc/tcb/user to the above directory\n" "}\n" " " #: usermod.8.xml:32(para) userdel.8.xml:32(para) useradd.8.xml:32(para) #: pwck.8.xml:32(para) login.defs.5.xml:32(para) msgid "" "If yes, the location of the user tcb directory to " "be created will not be automatically set to /etc/tcb/user, but will be " "computed depending on the UID of the user, according to the following " "algorithm: " msgstr "" "如果是 yes,要创建用户 tcb 目录不会自动设置为 /" "etc/tcb/user,但是会根据用户的 UID 计算,根据的算法如下:" #: usermod.8.xml:442(filename) userdel.8.xml:179(filename) #: useradd.8.xml:714(filename) su.1.xml:363(filename) #: pwconv.8.xml:235(filename) passwd.1.xml:405(filename) #: newusers.8.xml:402(filename) login.access.5.xml:105(filename) #: login.1.xml:370(filename) groupmod.8.xml:204(filename) #: groupadd.8.xml:232(filename) chsh.1.xml:164(filename) #: chpasswd.8.xml:254(filename) chgpasswd.8.xml:215(filename) #: chfn.1.xml:192(filename) msgid "/etc/login.defs" msgstr "/etc/login.defs" #: usermod.8.xml:444(para) userdel.8.xml:181(para) useradd.8.xml:716(para) #: su.1.xml:365(para) pwconv.8.xml:237(para) passwd.1.xml:407(para) #: newusers.8.xml:404(para) login.access.5.xml:107(para) login.1.xml:372(para) #: groupmod.8.xml:206(para) groupadd.8.xml:234(para) chsh.1.xml:166(para) #: chpasswd.8.xml:256(para) chgpasswd.8.xml:217(para) chfn.1.xml:194(para) msgid "Shadow password suite configuration." msgstr "Shadow 密码套件配置。" #: usermod.8.xml:464(para) msgid "" "chfn1, chsh1, " "passwd1, crypt3, " "gpasswd8, groupadd8, " "groupdel8, groupmod8, " "login.defs5, useradd8, " "userdel8." msgstr "" "chfn1, chsh1, " "passwd1, crypt3, " "gpasswd8, groupadd8, " "groupdel8, groupmod8, " "login.defs5, useradd8, " "userdel8." #: userdel.8.xml:44(refentrytitle) userdel.8.xml:51(refname) #: userdel.8.xml:56(command) login.defs.5.xml:461(term) msgid "userdel" msgstr "userdel" #: userdel.8.xml:52(refpurpose) msgid "delete a user account and related files" msgstr "删除用户账户和相关文件" #: userdel.8.xml:66(para) msgid "" "The userdel command modifies the system account files, " "deleting all entries that refer to the user name LOGIN. The named user must exist." msgstr "" "userdel 修改系统账户文件,删除与用户名 LOGIN 相关的所以项目。给出的用户名必须存在。" #: userdel.8.xml:75(para) msgid "The options which apply to the userdel command are:" msgstr "userdel 可以使用的选项有:" #: userdel.8.xml:80(term) groupadd.8.xml:81(term) expiry.1.xml:84(term) msgid ", " msgstr ", " #: userdel.8.xml:84(para) msgid "" "This option forces the removal of the user account, even if the user is " "still logged in. It also forces userdel to remove the " "user's home directory and mail spool, even if another user uses the same " "home directory or if the mail spool is not owned by the specified user. If " " is defined to yes in /etc/login.defs and if a group exists with " "the same name as the deleted user, then this group will be removed, even if " "it is still the primary group of another user." msgstr "" "此选项强制删除用户账户,甚至用户仍然在登录状态。它也强制 userdel 删除用户的主目录和邮箱,即使其它用户也使用同一个主目录或邮箱不属于指" "定的用户。如果 /etc/login.defs 中的 " " 定义为 yes,并且如果有一个和用户同名的组,也会删除此组,即使它仍然是别的用户的" "主组。" #: userdel.8.xml:97(para) msgid "" "Note: This option is dangerous and may leave your " "system in an inconsistent state." msgstr "注意:此选项危险,可能会破坏系统的稳定性。" #: userdel.8.xml:110(term) msgid ", " msgstr ", " #: userdel.8.xml:114(para) msgid "" "Files in the user's home directory will be removed along with the home " "directory itself and the user's mail spool. Files located in other file " "systems will have to be searched for and deleted manually." msgstr "" "用户主目录中的文件将随用户主目录和用户邮箱一起删除。在其它文件系统中的文件必" "须手动搜索并删除。" #: userdel.8.xml:120(para) msgid "" "The mail spool is defined by the variable in the " "login.defs file." msgstr "" "邮箱在 login.defs 文件中的 变" "量中定义。" #: userdel.8.xml:140(term) msgid ", " msgstr ", " #: userdel.8.xml:144(para) msgid "Remove any SELinux user mapping for the user's login." msgstr "移除用户登录的所有 SELinux 用户映射。" #: userdel.8.xml:33(term) login.defs.5.xml:33(term) msgid " (string)" msgstr " (string)" #: userdel.8.xml:35(para) login.defs.5.xml:35(para) msgid "" "If defined, this command is run when removing a user. It should remove any " "at/cron/print jobs etc. owned by the user to be removed (passed as the first " "argument)." msgstr "" "如果定义了,这是删除账户时执行的命令。它应该移除所有属于此用户的的 at/cron/" "print 等作业(作为第一个参数传递)。" #: userdel.8.xml:40(para) login.defs.5.xml:40(para) msgid "The return code of the script is not taken into account." msgstr "这个脚本的返回值并不被带到账户中去。" #: userdel.8.xml:46(programlisting) login.defs.5.xml:46(programlisting) #, no-wrap msgid "" "\n" "#! /bin/sh\n" "\n" "# Check for the required argument.\n" "if [ $# != 1 ]; then\n" "\techo \"Usage: $0 username\"\n" "\texit 1\n" "fi\n" "\n" "# Remove cron jobs.\n" "crontab -r -u $1\n" "\n" "# Remove at jobs.\n" "# Note that it will remove any jobs owned by the same UID,\n" "# even if it was shared by a different username.\n" "AT_SPOOL_DIR=/var/spool/cron/atjobs\n" "find $AT_SPOOL_DIR -name \"[^.]*\" -type f -user $1 -delete \\;\n" "\n" "# Remove print jobs.\n" "lprm $1\n" "\n" "# All done.\n" "exit 0\n" " " msgstr "" "\n" "#! /bin/sh\n" "\n" "# 检查需要的参数\n" "if [ $# != 1 ]; then\n" "\techo \"Usage: $0 username\"\n" "\texit 1\n" "fi\n" "\n" "# 移除 cron 作业\n" "crontab -r -u $1\n" "\n" "# 移除 at 作业\n" "# 注意这将移除所有属于同一个 UID 的作业\n" "# 即使此 ID 由多个用户名共享\n" "AT_SPOOL_DIR=/var/spool/cron/atjobs\n" "find $AT_SPOOL_DIR -name \"[^.]*\" -type f -user $1 -delete \\;\n" "\n" "# 移除 print 作业\n" "lprm $1\n" "\n" "# 全部完成\n" "exit 0\n" " " #: userdel.8.xml:43(para) login.defs.5.xml:43(para) msgid "" "Here is an example script, which removes the user's cron, at and print jobs: " "" msgstr "" "这是一个示例脚本,它移除用户的 cron、at 和 print 作业:" #: userdel.8.xml:32(term) useradd.8.xml:32(term) su.1.xml:32(term) #: login.defs.5.xml:32(term) login.1.xml:32(term) msgid " (boolean)" msgstr " (boolean)" #: userdel.8.xml:34(para) useradd.8.xml:34(para) su.1.xml:34(para) #: login.defs.5.xml:34(para) login.1.xml:34(para) msgid "" "Enable setting of the umask group bits to be the same as owner bits " "(examples: 022 -> 002, 077 -> 007) for non-root users, if the uid is " "the same as gid, and username is the same as the primary group name." msgstr "" "如果 uid 和 gid 相同,用户名和主用户名也相同,使非 root 组的组掩码位和属主位" "相同 (如:022 -> 002, 077 -> 007)。" #: userdel.8.xml:39(para) useradd.8.xml:39(para) su.1.xml:39(para) #: login.defs.5.xml:39(para) login.1.xml:39(para) msgid "" "If set to yes, userdel will " "remove the user's group if it contains no more members, and " "useradd will create by default a group with the name of " "the user." msgstr "" "如果设置为 yes,如果组中没有成员了," "userdel 将移除此用户组,useradd 创建用" "户时,也会创建一个同名的默认组。" #: userdel.8.xml:200(title) useradd.8.xml:723(title) su.1.xml:372(title) #: pwck.8.xml:275(title) passwd.1.xml:420(title) grpck.8.xml:227(title) #: groupmod.8.xml:219(title) groupdel.8.xml:140(title) #: groupadd.8.xml:263(title) chage.1.xml:260(title) msgid "EXIT VALUES" msgstr "退出值" #: userdel.8.xml:205(replaceable) useradd.8.xml:728(replaceable) #: su.1.xml:391(replaceable) pwck.8.xml:280(replaceable) #: passwd.1.xml:425(replaceable) grpck.8.xml:232(replaceable) #: groupmod.8.xml:224(replaceable) groupdel.8.xml:145(replaceable) #: groupadd.8.xml:268(replaceable) chage.1.xml:265(replaceable) msgid "0" msgstr "0" #: userdel.8.xml:207(para) useradd.8.xml:730(para) pwck.8.xml:282(para) #: passwd.1.xml:427(para) grpck.8.xml:234(para) groupmod.8.xml:226(para) #: groupdel.8.xml:147(para) groupadd.8.xml:270(para) chage.1.xml:267(para) msgid "success" msgstr "成功" #: userdel.8.xml:211(replaceable) useradd.8.xml:734(replaceable) #: su.1.xml:56(manvolnum) su.1.xml:397(replaceable) sg.1.xml:40(manvolnum) #: pwck.8.xml:286(replaceable) passwd.1.xml:46(manvolnum) #: passwd.1.xml:431(replaceable) newgrp.1.xml:40(manvolnum) #: login.1.xml:72(manvolnum) grpck.8.xml:238(replaceable) #: groups.1.xml:39(manvolnum) gpasswd.1.xml:44(manvolnum) #: expiry.1.xml:43(manvolnum) chsh.1.xml:42(manvolnum) #: chfn.1.xml:42(manvolnum) chage.1.xml:40(manvolnum) #: chage.1.xml:271(replaceable) msgid "1" msgstr "1" #: userdel.8.xml:213(para) useradd.8.xml:736(para) msgid "can't update password file" msgstr "无法更新密码文件" #: userdel.8.xml:217(replaceable) useradd.8.xml:740(replaceable) #: pwck.8.xml:292(replaceable) passwd.1.xml:437(replaceable) #: grpck.8.xml:244(replaceable) groupmod.8.xml:230(replaceable) #: groupdel.8.xml:151(replaceable) groupadd.8.xml:274(replaceable) #: chage.1.xml:277(replaceable) msgid "2" msgstr "2" #: userdel.8.xml:219(para) useradd.8.xml:742(para) pwck.8.xml:288(para) #: grpck.8.xml:240(para) groupmod.8.xml:232(para) groupdel.8.xml:153(para) #: groupadd.8.xml:276(para) chage.1.xml:279(para) msgid "invalid command syntax" msgstr "无效的命令语法" #: userdel.8.xml:223(replaceable) useradd.8.xml:758(replaceable) #: pwck.8.xml:316(replaceable) passwd.1.xml:461(replaceable) #: groupmod.8.xml:248(replaceable) groupdel.8.xml:157(replaceable) msgid "6" msgstr "6" #: userdel.8.xml:225(para) msgid "specified user doesn't exist" msgstr "指定的用户不存在" #: userdel.8.xml:231(para) msgid "user currently logged in" msgstr "用户已经登录" #: userdel.8.xml:235(replaceable) useradd.8.xml:770(replaceable) #: groupmod.8.xml:260(replaceable) groupdel.8.xml:169(replaceable) #: groupadd.8.xml:298(replaceable) msgid "10" msgstr "10" #: userdel.8.xml:237(para) useradd.8.xml:772(para) groupmod.8.xml:262(para) #: groupdel.8.xml:171(para) groupadd.8.xml:300(para) msgid "can't update group file" msgstr "无法更新组文件" #: userdel.8.xml:241(replaceable) useradd.8.xml:776(replaceable) msgid "12" msgstr "12" #: userdel.8.xml:243(para) msgid "can't remove home directory" msgstr "无法删除主目录" #: userdel.8.xml:201(para) msgid "" "The userdel command exits with the following values: " "" msgstr "userdel 命令使用如下值退出:" #: userdel.8.xml:252(para) msgid "" "userdel will not allow you to remove an account if there " "are running processes which belong to this account. In that case, you may " "have to kill those processes or lock the user's password or account and " "remove the account later. The option can force the " "deletion of this account." msgstr "" "如果某账户有正在运行的进程,userdel 不会允许此账户。此时," "您可能必须要杀死那写进程或者锁定用户的密码和账户,并稍后再删除账户。 选项可以强制此删除账户。" #: userdel.8.xml:259(para) msgid "" "You should manually check all file systems to ensure that no files remain " "owned by this user." msgstr "您应该手动检查所以文件系统,以确保没有遗留此用户的文件。" #: userdel.8.xml:263(para) msgid "" "You may not remove any NIS attributes on a NIS client. This must be " "performed on the NIS server." msgstr "您不能在 NIS 客户端上移除任何 NIS 属性。这必须在 NIS 服务器上执行。" #: userdel.8.xml:266(para) msgid "" "If is defined to yes in /etc/login.defs, userdel will delete the group with the same name as the user. To avoid " "inconsistencies in the passwd and group databases, userdel will check that this group is not used as a primary group for " "another user, and will just warn without deleting the group otherwise. The " " option can force the deletion of this group." msgstr "" "如果在 /etc/login.defs