Debian Codegraph @

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