Debian Codegraph @

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