Debian Codegraph @

src/man/po/authselect-profiles.5.adoc.zh_CN.po

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # Weblate <[email protected]>, 2020.
5 # Ludek Janda <[email protected]>, 2021.
6 # Jingge Chen <[email protected]>, 2022.
7 # Merlin Dust <[email protected]>, 2023.
8 msgid ""
9 msgstr ""
10 "Project-Id-Version: PACKAGE VERSION\n"
11 "POT-Creation-Date: 2025-09-30 14:35+0200\n"
12 "PO-Revision-Date: 2023-02-21 08:20+0000\n"
13 "Last-Translator: Merlin Dust <[email protected]>\n"
14 "Language-Team: Chinese (Simplified) <https://translate.fedoraproject.org/"
15 "projects/authselect/master-authselect-profiles5adoc/zh_CN/>\n"
16 "Language: zh_CN\n"
17 "MIME-Version: 1.0\n"
18 "Content-Type: text/plain; charset=UTF-8\n"
19 "Content-Transfer-Encoding: 8bit\n"
20 "Plural-Forms: nplurals=1; plural=0;\n"
21 "X-Generator: Weblate 4.15.2\n"
22
23 #. type: Title =
24 #: src/man/authselect-profiles.5.adoc:2
25 #, no-wrap
26 msgid "authselect-profiles(5)"
27 msgstr "authselect-profiles(5)"
28
29 #. type: Title -
30 #: src/man/authselect-profiles.5.adoc:6
31 #, no-wrap
32 msgid "NAME"
33 msgstr "名称"
34
35 #. type: Plain text
36 #: src/man/authselect-profiles.5.adoc:8
37 msgid "authselect-profiles - how to extend authselect profiles."
38 msgstr "authselect-profiles - 如何扩展authselect配置文件。"
39
40 #. type: Title -
41 #: src/man/authselect-profiles.5.adoc:10
42 #, no-wrap
43 msgid "DESCRIPTION"
44 msgstr "描述"
45
46 #. type: Plain text
47 #: src/man/authselect-profiles.5.adoc:13
48 msgid ""
49 "This manual page explains how are authselect profiles organized and how to "
50 "create new profiles."
51 msgstr "本手册页介绍了如何组织authselect配置文件以及如何创建新的配置文件。"
52
53 #. type: Title -
54 #: src/man/authselect-profiles.5.adoc:15
55 #, no-wrap
56 msgid "PROFILE DIRECTORIES"
57 msgstr "配置文件目录"
58
59 #. type: Plain text
60 #: src/man/authselect-profiles.5.adoc:17
61 msgid "Profiles can be found in one of three directories."
62 msgstr "在三个目录其中之一可以找到配置文件。"
63
64 #. type: Labeled list
65 #: src/man/authselect-profiles.5.adoc:18
66 #, no-wrap
67 msgid "*{AUTHSELECT_PROFILE_DIR}*"
68 msgstr "*{AUTHSELECT_PROFILE_DIR}*"
69
70 #. type: Plain text
71 #: src/man/authselect-profiles.5.adoc:20
72 msgid ""
73 "Read-only directory containing profiles shipped together with authselect."
74 msgstr "包含与authselect一起提供的配置文件的只读目录。"
75
76 #. type: Labeled list
77 #: src/man/authselect-profiles.5.adoc:21
78 #, no-wrap
79 msgid "*{AUTHSELECT_VENDOR_DIR}*"
80 msgstr "*{AUTHSELECT_VENDOR_DIR}*"
81
82 #. type: Plain text
83 #: src/man/authselect-profiles.5.adoc:24
84 msgid ""
85 "Read-only directory for vendor-specific profiles that can override the ones "
86 "in _default_ directory."
87 msgstr "特定配置文件的只读目录,可以覆盖默认目录。"
88
89 #. type: Labeled list
90 #: src/man/authselect-profiles.5.adoc:25
91 #, no-wrap
92 msgid "*{AUTHSELECT_CUSTOM_DIR}*"
93 msgstr "*{AUTHSELECT_CUSTOM_DIR}*"
94
95 #. type: Plain text
96 #: src/man/authselect-profiles.5.adoc:27
97 msgid "Place for administrator-defined profiles."
98 msgstr "管理员定义配置文件的位置。"
99
100 #. type: Title -
101 #: src/man/authselect-profiles.5.adoc:29
102 #, no-wrap
103 msgid "PROFILE FILES"
104 msgstr "配置文件"
105
106 #. type: Plain text
107 #: src/man/authselect-profiles.5.adoc:33
108 msgid ""
109 "Each profile consists of one or more of these files which provide a "
110 "mandatory profile description and describe the changes that are done to the "
111 "system."
112 msgstr ""
113 "每个配置由一个或多个文件组成,这些文件提供了强制性的配置文件描述,并描述了对"
114 "系统所做的更改。"
115
116 #. type: Labeled list
117 #: src/man/authselect-profiles.5.adoc:34
118 #, no-wrap
119 msgid "*README*"
120 msgstr "*README*"
121
122 #. type: Plain text
123 #: src/man/authselect-profiles.5.adoc:36
124 msgid ""
125 "Description of the profile. The first line must be a name of the profile."
126 msgstr "配置文件的描述。第一行必须是配置的名称。"
127
128 #. type: Labeled list
129 #: src/man/authselect-profiles.5.adoc:37
130 #, no-wrap
131 msgid "*system-auth*"
132 msgstr "*system-auth*"
133
134 #. type: Plain text
135 #: src/man/authselect-profiles.5.adoc:40
136 msgid ""
137 "PAM stack that is included from nearly all individual service configuration "
138 "files."
139 msgstr ""
140
141 #. type: Labeled list
142 #: src/man/authselect-profiles.5.adoc:41
143 #, no-wrap
144 msgid "*password-auth*, *smartcard-auth*, *fingerprint-auth*"
145 msgstr "*password-auth*, *smartcard-auth*, *fingerprint-auth*"
146
147 #. type: Plain text
148 #: src/man/authselect-profiles.5.adoc:45
149 msgid ""
150 "These PAM stacks are for applications which handle authentication from "
151 "different types of devices via simultaneously running individual "
152 "conversations instead of one aggregate conversation."
153 msgstr ""
154
155 #. type: Labeled list
156 #: src/man/authselect-profiles.5.adoc:46
157 #, no-wrap
158 msgid "*postlogin*"
159 msgstr "*postlogin*"
160
161 #. type: Plain text
162 #: src/man/authselect-profiles.5.adoc:54
163 msgid ""
164 "The purpose of this PAM stack is to provide a common place for all PAM "
165 "modules which should be called after the stack configured in system-auth or "
166 "the other common PAM configuration files. It is included from all individual "
167 "service configuration files that provide login service with shell or file "
168 "access. _NOTE: the modules in the postlogin configuration file are executed "
169 "regardless of the success or failure of the modules in the system-auth "
170 "configuration file._"
171 msgstr ""
172
173 #. type: Labeled list
174 #: src/man/authselect-profiles.5.adoc:55
175 #, no-wrap
176 msgid "*nsswitch.conf*"
177 msgstr "*nsswitch.conf*"
178
179 #. type: Plain text
180 #: src/man/authselect-profiles.5.adoc:57
181 msgid "Name Service Switch configuration file."
182 msgstr ""
183
184 #. type: Labeled list
185 #: src/man/authselect-profiles.5.adoc:58
186 #, no-wrap
187 msgid "*dconf-db*"
188 msgstr "*dconf-db*"
189
190 #. type: Plain text
191 #: src/man/authselect-profiles.5.adoc:62
192 msgid ""
193 "Changes to dconf database. The main uses case of this file is to set changes "
194 "for gnome login screen in order to enable or disable smartcard and "
195 "fingerprint authentication."
196 msgstr ""
197
198 #. type: Labeled list
199 #: src/man/authselect-profiles.5.adoc:63
200 #, no-wrap
201 msgid "*dconf-locks*"
202 msgstr "*dconf-locks*"
203
204 #. type: Plain text
205 #: src/man/authselect-profiles.5.adoc:65
206 msgid "This file define locks on values set in dconf database."
207 msgstr ""
208
209 #. type: Title ~
210 #: src/man/authselect-profiles.5.adoc:67
211 #, no-wrap
212 msgid "CONDITIONAL LINES"
213 msgstr ""
214
215 #. type: Plain text
216 #: src/man/authselect-profiles.5.adoc:71
217 msgid ""
218 "Each of these files serves as a template. A template is a plain text file "
219 "with optional usage of several operators that can be used to provide some "
220 "optional profile features."
221 msgstr ""
222
223 #. type: Labeled list
224 #: src/man/authselect-profiles.5.adoc:72
225 #, no-wrap
226 msgid "*{continue if \"feature\"}*"
227 msgstr ""
228
229 #. type: Plain text
230 #: src/man/authselect-profiles.5.adoc:77
231 msgid ""
232 "Immediately stop processing of the file unless \"feature\" is defined (the "
233 "rest of the file content will be removed). If \"feature\" is defined, the "
234 "whole line with this operator will be removed and the rest of the template "
235 "will be processed."
236 msgstr ""
237
238 #. type: Labeled list
239 #: src/man/authselect-profiles.5.adoc:78
240 #, no-wrap
241 msgid "*{stop if \"feature\"}*"
242 msgstr ""
243
244 #. type: Plain text
245 #: src/man/authselect-profiles.5.adoc:83
246 msgid ""
247 "Opposite of \"continue if\". Immediately stop processing of the file if "
248 "\"feature\" is defined (the rest of the file content will be removed). If "
249 "\"feature\" is not defined, the whole line with this operator will be "
250 "removed and the rest of the template will be processed."
251 msgstr ""
252
253 #. type: Labeled list
254 #: src/man/authselect-profiles.5.adoc:84
255 #, no-wrap
256 msgid "*{include if \"feature\"}*"
257 msgstr ""
258
259 #. type: Plain text
260 #: src/man/authselect-profiles.5.adoc:87
261 msgid ""
262 "Include the line where this operator is placed only if \"feature\" is "
263 "defined."
264 msgstr ""
265
266 #. type: Labeled list
267 #: src/man/authselect-profiles.5.adoc:88
268 #, no-wrap
269 msgid "*{exclude if \"feature\"}*"
270 msgstr ""
271
272 #. type: Plain text
273 #: src/man/authselect-profiles.5.adoc:91
274 msgid ""
275 "Opposite to \"include-if\". Include the line where this operator is placed "
276 "only if \"feature\" is not defined."
277 msgstr ""
278
279 #. type: Labeled list
280 #: src/man/authselect-profiles.5.adoc:92
281 #, no-wrap
282 msgid "*{imply \"implied-feature\" if \"feature\"}*"
283 msgstr ""
284
285 #. type: Plain text
286 #: src/man/authselect-profiles.5.adoc:96
287 msgid ""
288 "Enable feature \"implied-feature\" if feature \"feature\" is enabled. The "
289 "whole line with this operator is removed, thus it is not possible to add "
290 "anything else around this operator at the same line."
291 msgstr ""
292
293 #. type: Labeled list
294 #: src/man/authselect-profiles.5.adoc:97
295 #, no-wrap
296 msgid "*{if \"feature\":true|false}*"
297 msgstr ""
298
299 #. type: Plain text
300 #: src/man/authselect-profiles.5.adoc:100
301 msgid ""
302 "If \"feature\" is defined, replace this operator with string \"true\", "
303 "otherwise with string \"false\"."
304 msgstr ""
305
306 #. type: Labeled list
307 #: src/man/authselect-profiles.5.adoc:101
308 #, no-wrap
309 msgid "*{if \"feature\":true}*"
310 msgstr ""
311
312 #. type: Plain text
313 #: src/man/authselect-profiles.5.adoc:104
314 msgid ""
315 "If \"feature\" is defined, replace this operator with string \"true\", "
316 "otherwise with an empty string."
317 msgstr ""
318
319 #. type: Plain text
320 #: src/man/authselect-profiles.5.adoc:108
321 msgid ""
322 "It is also possible to use logical expression in conditional line instead of "
323 "specifying single feature name. In this case the expression will evaluate to "
324 "true or false and the conditional operator will act upon the result."
325 msgstr ""
326
327 #. type: Plain text
328 #: src/man/authselect-profiles.5.adoc:113
329 msgid ""
330 "The expression syntax consists of feature names (e.g. _\"feature\"_) which "
331 "returns _true_ if the feature is defined or _false_ if it is not defined and "
332 "from the following logical operators: _and_, _or_ and _not_. The expression "
333 "may also be enclosed in parentheses and contain multiple subexpressions."
334 msgstr ""
335
336 #. type: Plain text
337 #: src/man/authselect-profiles.5.adoc:115
338 msgid "For example:"
339 msgstr ""
340
341 #. type: Labeled list
342 #: src/man/authselect-profiles.5.adoc:116
343 #, no-wrap
344 msgid "*{if \"feature1\" or \"feature2\":true}*"
345 msgstr ""
346
347 #. type: Plain text
348 #: src/man/authselect-profiles.5.adoc:119
349 msgid ""
350 "If \"feature1\" or \"feature2\" is defined, replace this operator with "
351 "string \"true\", otherwise with an empty string."
352 msgstr ""
353
354 #. type: Labeled list
355 #: src/man/authselect-profiles.5.adoc:120
356 #, no-wrap
357 msgid "*{if not \"feature\":true|false}*"
358 msgstr ""
359
360 #. type: Plain text
361 #: src/man/authselect-profiles.5.adoc:123
362 msgid ""
363 "If \"feature\" is not defined, replace this operator with string \"true\", "
364 "otherwise with string \"false\"."
365 msgstr ""
366
367 #. type: Labeled list
368 #: src/man/authselect-profiles.5.adoc:124
369 #, no-wrap
370 msgid "*{if not \"feature\":true}*"
371 msgstr ""
372
373 #. type: Plain text
374 #: src/man/authselect-profiles.5.adoc:127
375 msgid ""
376 "If \"feature\" is not defined, replace this operator with string \"true\", "
377 "otherwise with an empty string."
378 msgstr ""
379
380 #. type: Labeled list
381 #: src/man/authselect-profiles.5.adoc:128
382 #, no-wrap
383 msgid "*{if \"feature1\" and (\"feature2\" or \"feature3\"):true}*"
384 msgstr ""
385
386 #. type: Plain text
387 #: src/man/authselect-profiles.5.adoc:131
388 msgid ""
389 "If \"feature1\" is defined, and one of \"feature2\" and \"feature3\" is "
390 "defined replace this operator with string \"true\", otherwise with an empty "
391 "string."
392 msgstr ""
393
394 #. type: Title ~
395 #: src/man/authselect-profiles.5.adoc:133
396 #, no-wrap
397 msgid "EXAMPLE"
398 msgstr ""
399
400 #. type: Plain text
401 #: src/man/authselect-profiles.5.adoc:136
402 msgid ""
403 "Here is an example of using \"if\" operator. If \"with-sudo\" feature is "
404 "enabled, it will add \"sss\" to sudoers line."
405 msgstr ""
406
407 #. type: Plain text
408 #: src/man/authselect-profiles.5.adoc:143
409 #, no-wrap
410 msgid ""
411 " passwd: sss files\n"
412 " group: sss files\n"
413 " netgroup: sss files\n"
414 " automount: sss files\n"
415 " services: sss files\n"
416 " sudoers: files {if \"with-sudo\":sss}\n"
417 msgstr ""
418
419 #. type: Plain text
420 #: src/man/authselect-profiles.5.adoc:148
421 msgid ""
422 "Here is an example of \"continue-if\" and \"include-if\" operators. The "
423 "resulting file will be empty unless \"with-smartcard\" feature is enabled. "
424 "If it is enabled and also \"with-faillock\" feature is enabled, it will also "
425 "enable support for pam_faillock."
426 msgstr ""
427
428 #. type: Plain text
429 #: src/man/authselect-profiles.5.adoc:161
430 #, no-wrap
431 msgid ""
432 " {continue if \"with-smartcard\"}\n"
433 " auth required pam_env.so\n"
434 " auth required pam_faildelay.so delay=2000000\n"
435 " auth required pam_faillock.so preauth silent deny=4 unlock_time=1200 {include if \"with-faillock\"}\n"
436 " auth [default=1 ignore=ignore success=ok] pam_succeed_if.so uid >= 1000 quiet\n"
437 " auth [default=1 ignore=ignore success=ok] pam_localuser.so\n"
438 " auth sufficient pam_unix.so nullok\n"
439 " auth requisite pam_succeed_if.so uid >= 1000 quiet_success\n"
440 " auth sufficient pam_sss.so forward_pass\n"
441 " auth required pam_faillock.so authfail deny=4 unlock_time=1200 {include if \"with-faillock\"}\n"
442 " auth required pam_deny.so\n"
443 " ...\n"
444 msgstr ""
445
446 #. type: Plain text
447 #: src/man/authselect-profiles.5.adoc:166
448 msgid ""
449 "Here is an example of \"continue-if\" using logical expression. The file "
450 "will be empty unless \"with-smartcard\" or \"with-smartcard-required\" is "
451 "set. This will simplify the call of _authselect select_ command which does "
452 "not have to include both features but only \"with-smartcard-required\" is "
453 "necessary."
454 msgstr ""
455
456 #. type: Plain text
457 #: src/man/authselect-profiles.5.adoc:179
458 #, no-wrap
459 msgid ""
460 " {continue if \"with-smartcard\" or \"with-smartcard-required\"}\n"
461 " auth required pam_env.so\n"
462 " auth required pam_faildelay.so delay=2000000\n"
463 " auth required pam_faillock.so preauth silent deny=4 unlock_time=1200 {include if \"with-faillock\"}\n"
464 " auth [default=1 ignore=ignore success=ok] pam_succeed_if.so uid >= 1000 quiet\n"
465 " auth [default=1 ignore=ignore success=ok] pam_localuser.so\n"
466 " auth sufficient pam_unix.so nullok\n"
467 " auth requisite pam_succeed_if.so uid >= 1000 quiet_success\n"
468 " auth sufficient pam_sss.so forward_pass\n"
469 " auth required pam_faillock.so authfail deny=4 unlock_time=1200 {include if \"with-faillock\"}\n"
470 " auth required pam_deny.so\n"
471 " ...\n"
472 msgstr ""
473
474 #. type: Plain text
475 #: src/man/authselect-profiles.5.adoc:184
476 msgid ""
477 "Here is an example of \"imply-if\" operator. Enabling feature \"with-"
478 "smartcard-required\" will also enable \"with-smartcard\" to make sure that "
479 "all relevant PAM modules are used. This will achieve the same behavior as "
480 "the previous example."
481 msgstr ""
482
483 #. type: Plain text
484 #: src/man/authselect-profiles.5.adoc:199
485 #, no-wrap
486 msgid ""
487 " {imply \"with-smartcard\" if \"with-smartcard-required\"}\n"
488 " auth required pam_env.so\n"
489 " auth required pam_faildelay.so delay=2000000\n"
490 " auth [success=1 default=ignore] pam_succeed_if.so service notin login:gdm:xdm:kdm:kde:xscreensaver:gnome-screensaver:kscreensaver quiet use_uid {include if \"with-smartcard-required\"}\n"
491 " auth [success=done ignore=ignore default=die] pam_sss.so require_cert_auth ignore_authinfo_unavail {include if \"with-smartcard-required\"}\n"
492 " auth [default=1 ignore=ignore success=ok] pam_succeed_if.so uid >= 1000 quiet\n"
493 " auth [default=1 ignore=ignore success=ok] pam_localuser.so {exclude if \"with-smartcard\"}\n"
494 " auth [default=2 ignore=ignore success=ok] pam_localuser.so {include if \"with-smartcard\"}\n"
495 " auth [success=done authinfo_unavail=ignore user_unknown=ignore ignore=ignore default=die] pam_sss.so try_cert_auth {include if \"with-smartcard\"}\n"
496 " auth sufficient pam_unix.so {if not \"without-nullok\":nullok}\n"
497 " auth requisite pam_succeed_if.so uid >= 1000 quiet_success\n"
498 " auth sufficient pam_sss.so forward_pass\n"
499 " auth required pam_deny.so\n"
500 " ...\n"
501 msgstr ""
502
503 #. type: Title -
504 #: src/man/authselect-profiles.5.adoc:201
505 #, no-wrap
506 msgid "CREATING A NEW PROFILE"
507 msgstr ""
508
509 #. type: Plain text
510 #: src/man/authselect-profiles.5.adoc:206
511 msgid ""
512 "To register a new profile within authselect, create a directory in one of "
513 "the authselect profile locations with the files listed above. Not all of the "
514 "files must be present, only *README* is mandatory. Other files can be "
515 "created on per-need basis."
516 msgstr ""
517
518 #. type: Plain text
519 #: src/man/authselect-profiles.5.adoc:210
520 msgid ""
521 "You may find *authselect create-profile* command helpful when creating new "
522 "profile. See *authselect(8)* manual page or *authselect create-profile --"
523 "help* for more information."
524 msgstr ""
525
526 #. type: Title -
527 #: src/man/authselect-profiles.5.adoc:212
528 #, no-wrap
529 msgid "SEE ALSO"
530 msgstr "另见"
531
532 #. type: Plain text
533 #: src/man/authselect-profiles.5.adoc:213
534 msgid "authselect(8), nsswitch.conf(5), PAM(8)"
535 msgstr ""