Debian Codegraph @

src/man/po/authselect-migration.7.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-migration7adoc/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-migration.7.adoc:2
24 #, no-wrap
25 msgid "authselect-migration(7)"
26 msgstr "authselect-migration(7)"
27
28 #. type: Title -
29 #: src/man/authselect-migration.7.adoc:6
30 #, no-wrap
31 msgid "NAME"
32 msgstr "名稱"
33
34 #. type: Plain text
35 #: src/man/authselect-migration.7.adoc:8
36 msgid ""
37 "authselect-migration - A guide how to migrate from authconfig to authselect."
38 msgstr ""
39
40 #. type: Title -
41 #: src/man/authselect-migration.7.adoc:10
42 #, no-wrap
43 msgid "DESCRIPTION"
44 msgstr "描述"
45
46 #. type: Plain text
47 #: src/man/authselect-migration.7.adoc:15
48 msgid ""
49 "This manual page explains the main differences between authconfig, the "
50 "previous tool to configure system authentication and identity sources, and "
51 "authselect which replaces it. It also explains what actions need to be done "
52 "in order to migrate from authconfig to authselect."
53 msgstr ""
54
55 #. type: Title -
56 #: src/man/authselect-migration.7.adoc:17
57 #, no-wrap
58 msgid "MAIN DIFFERENCES"
59 msgstr ""
60
61 #. type: Plain text
62 #: src/man/authselect-migration.7.adoc:20
63 msgid ""
64 "Authselect takes a completely different approach to system configuration "
65 "than the previous tool authconfig."
66 msgstr ""
67
68 #. type: Plain text
69 #: src/man/authselect-migration.7.adoc:25
70 msgid ""
71 "Authconfig tries its best to keep users's manual changes to the files it "
72 "generates. It generates not only PAM configuration files and nsswitch.conf "
73 "(to setup authentication modules and identity sources) but it also generates "
74 "simple configuration files for several services such as LDAP and Kerberos."
75 msgstr ""
76
77 #. type: Plain text
78 #: src/man/authselect-migration.7.adoc:34
79 msgid ""
80 "Authselect does no such things. It does not generate any configuration files "
81 "beside PAM and nsswitch.conf and it strictly prohibits any manual changes to "
82 "generated configuration. It provides a set of files called profiles. Each "
83 "profile describes how the resulting configuration should look like and it "
84 "can be slightly modified by enabling or disabling certain optional features. "
85 "If a need arises for a different profile than what authselect ships, the "
86 "administrator has an option to create a whole new profile and use it with "
87 "authselect. See authselect-profiles(5) to learn more about profiles."
88 msgstr ""
89
90 #. type: Plain text
91 #: src/man/authselect-migration.7.adoc:46
92 msgid ""
93 "This may seem like a big disadvantage but the truth is the opposite. "
94 "Authconfig is a very old tool and the applications providing required "
95 "services have changed rapidly over the years. Typically, there is no longer "
96 "a need to have multiple authentication modules in PAM and nsswitch.conf, "
97 "because the vast majority of use-cases is covered by SSSD. Therefore there "
98 "is no need to add or remove them specifically. There are also better tools "
99 "to generate configuration for system daemons that can help you automate the "
100 "process of joining to a remote domain such as `realm`. In addition, the "
101 "shipped profiles give us comprehensive and deterministic system "
102 "configuration that can be fully tested and is much less error prone. It is "
103 "also much easier to distribute such configuration across many systems."
104 msgstr ""
105
106 #. type: Plain text
107 #: src/man/authselect-migration.7.adoc:52
108 msgid ""
109 "Probably the most controversial change is that authselect only ships "
110 "profiles for sssd and winbind providers. Those two providers cover all "
111 "modern use cases from providing local users and legacy LDAP domain to "
112 "complex configurations with IPA or Active Directory servers. The profiles no "
113 "longer contain support for nss-pam-ldapd and users are encouraged to switch "
114 "to sssd."
115 msgstr ""
116
117 #. type: Title -
118 #: src/man/authselect-migration.7.adoc:54
119 #, no-wrap
120 msgid "JOINING REMOTE DOMAINS"
121 msgstr ""
122
123 #. type: Plain text
124 #: src/man/authselect-migration.7.adoc:59
125 msgid ""
126 "You can use either `ipa-client-install` or `realm` to join an IPA domain and "
127 "`realm` to join an Active Directory domain. These tools will make sure that "
128 "the correct authselect profile is selected and all daemons and services are "
129 "properly configured."
130 msgstr ""
131
132 #. type: Title -
133 #: src/man/authselect-migration.7.adoc:61
134 #, no-wrap
135 msgid "CONVERTING YOUR SCRIPTS"
136 msgstr ""
137
138 #. type: Plain text
139 #: src/man/authselect-migration.7.adoc:67
140 msgid ""
141 "If you use `ipa-client-install` or `realm` to join a domain, you can just "
142 "remove any authconfig call in your scripts. If this is not an option, you "
143 "need to replace each authconfig call with its equivalent authselect call to "
144 "select a correct profile with desired features. Then you also need to write "
145 "configuration file for required services."
146 msgstr ""
147
148 #. type: Block title
149 #: src/man/authselect-migration.7.adoc:68
150 #, no-wrap
151 msgid "Relation of authconfig options to authselect profiles"
152 msgstr ""
153
154 #. type: Table
155 #: src/man/authselect-migration.7.adoc:77
156 #, no-wrap
157 msgid ""
158 "|*Authconfig options* |*Authselect profile*\n"
159 "|--enableldap --enableldapauth |sssd\n"
160 "|--enablesssd --enablesssdauth |sssd\n"
161 "|--enablekrb5 |sssd\n"
162 "|--enablewinbind --enablewinbindauth |winbind\n"
163 "|--enablenis |nis\n"
164 msgstr ""
165
166 #. type: Table
167 #: src/man/authselect-migration.7.adoc:80
168 msgid "|--enablenis |none"
169 msgstr ""
170
171 #. type: Block title
172 #: src/man/authselect-migration.7.adoc:83
173 #, no-wrap
174 msgid "Relation of authconfig options to authselect profile features"
175 msgstr ""
176
177 #. type: Table
178 #: src/man/authselect-migration.7.adoc:95
179 #, no-wrap
180 msgid ""
181 "|*Authconfig options* |*Authselect profile feature*\n"
182 "|--enablesmartcard |with-smartcard\n"
183 "|--enablefingerprint |with-fingerprint\n"
184 "|--enableecryptfs |with-ecryptfs\n"
185 "|--enablemkhomedir |with-mkhomedir\n"
186 "|--enablefaillock |with-faillock\n"
187 "|--enablepamaccess |with-pamaccess\n"
188 "|--enablewinbindkrb5 |with-krb5\n"
189 "|--enableshadow |_none_\n"
190 "|--passalgo |_none_\n"
191 msgstr ""
192
193 #. type: Plain text
194 #: src/man/authselect-migration.7.adoc:102
195 msgid ""
196 "Authconfig options `--enableshadow` and `--passalgo=sha512` were often used "
197 "to make sure that passwords are stored in `/etc/shadow` using `sha512` "
198 "algorithm. *The authselect profiles now use the yescrypt hashing method* and "
199 "it cannot be changed through an option (only by creating a custom profile). "
200 "You can just omit these options."
201 msgstr ""
202
203 #. type: Block title
204 #: src/man/authselect-migration.7.adoc:103
205 #, no-wrap
206 msgid "Examples"
207 msgstr ""
208
209 #. type: delimited block -
210 #: src/man/authselect-migration.7.adoc:107
211 #, no-wrap
212 msgid ""
213 "authconfig --enableldap --enableldapauth --enablefaillock --updateall\n"
214 "authselect select sssd with-faillock\n"
215 msgstr ""
216
217 #. type: delimited block -
218 #: src/man/authselect-migration.7.adoc:110
219 #, no-wrap
220 msgid ""
221 "authconfig --enablesssd --enablesssdauth --enablesmartcard --smartcardmodule=sssd --updateall\n"
222 "authselect select sssd with-smartcard\n"
223 msgstr ""
224
225 #. type: delimited block -
226 #: src/man/authselect-migration.7.adoc:113
227 #, no-wrap
228 msgid ""
229 "authconfig --enableecryptfs --enablepamaccess --updateall\n"
230 "authselect select sssd with-ecryptfs with-pamaccess\n"
231 msgstr ""
232
233 #. type: delimited block -
234 #: src/man/authselect-migration.7.adoc:116
235 #, no-wrap
236 msgid ""
237 "authconfig --enablewinbind --enablewinbindauth --winbindjoin=Administrator --updateall\n"
238 "realm join -U Administrator --client-software=winbind WINBINDDOMAIN\n"
239 msgstr ""
240
241 #. type: Title -
242 #: src/man/authselect-migration.7.adoc:119
243 #, no-wrap
244 msgid "CONFIGURATION FILES"
245 msgstr ""
246
247 #. type: Plain text
248 #: src/man/authselect-migration.7.adoc:121
249 msgid ""
250 "This section contains snippets for minimal configuration of various services."
251 msgstr ""
252
253 #. type: Title ~
254 #: src/man/authselect-migration.7.adoc:123
255 #, no-wrap
256 msgid "LDAP"
257 msgstr ""
258
259 #. type: Plain text
260 #: src/man/authselect-migration.7.adoc:127
261 msgid ""
262 "Even if LDAP is not directly used through `pam_ldap` and `nss_ldap`, it is "
263 "still useful to configure ldap.conf to configure openldap-libs and "
264 "indirectly, e.g. LDAP tools such as `ldapsearch`."
265 msgstr ""
266
267 #. type: Block title
268 #: src/man/authselect-migration.7.adoc:128
269 #, no-wrap
270 msgid "{sysconfdir}/openldap/ldap.conf"
271 msgstr ""
272
273 #. type: delimited block -
274 #: src/man/authselect-migration.7.adoc:132
275 #, no-wrap
276 msgid ""
277 "# Set the default base dn\n"
278 "BASE dc=example,dc=com\n"
279 msgstr ""
280
281 #. type: delimited block -
282 #: src/man/authselect-migration.7.adoc:135
283 #, no-wrap
284 msgid ""
285 "# Set the default LDAP server\n"
286 "URI ldap://ldap.example.com ldap://ldap-master.example.com:666\n"
287 msgstr ""
288
289 #. type: Title ~
290 #: src/man/authselect-migration.7.adoc:138
291 #, no-wrap
292 msgid "KERBEROS"
293 msgstr ""
294
295 #. type: Plain text
296 #: src/man/authselect-migration.7.adoc:141
297 msgid ""
298 "If you use Kerberos, the default Kerberos realm should be configured in "
299 "order for krb5-libs and therefore tools such as `kinit` to work out of the "
300 "box."
301 msgstr ""
302
303 #. type: Block title
304 #: src/man/authselect-migration.7.adoc:142
305 #, no-wrap
306 msgid "{sysconfdir}/krb5.conf"
307 msgstr ""
308
309 #. type: delimited block -
310 #: src/man/authselect-migration.7.adoc:146
311 #, no-wrap
312 msgid ""
313 "[libdefaults]\n"
314 " default_realm = MYREALM\n"
315 msgstr ""
316
317 #. type: delimited block -
318 #: src/man/authselect-migration.7.adoc:151
319 #, no-wrap
320 msgid ""
321 "[realms]\n"
322 " MYREALM = {\n"
323 " kdc = kdc.myrealm.org\n"
324 " }\n"
325 msgstr ""
326
327 #. type: delimited block -
328 #: src/man/authselect-migration.7.adoc:155
329 #, no-wrap
330 msgid ""
331 "[domain_realm]\n"
332 " myrealm.org = MYREALM\n"
333 " .myrealm.org = MYREALM\n"
334 msgstr ""
335
336 #. type: Plain text
337 #: src/man/authselect-migration.7.adoc:158
338 #: src/man/authselect-migration.7.adoc:254
339 #, no-wrap
340 msgid "SSSD"
341 msgstr ""
342
343 #. type: Plain text
344 #: src/man/authselect-migration.7.adoc:163
345 msgid ""
346 "Authselect encourages users to use SSSD wherever possible. There are many "
347 "configuration options, see sssd.conf(5). This is a minimal configuration "
348 "that creates one LDAP domain called `default`. The LDAP server is auto-"
349 "discovered through DNS lookups."
350 msgstr ""
351
352 #. type: Block title
353 #: src/man/authselect-migration.7.adoc:164
354 #: src/man/authselect-migration.7.adoc:180
355 #, no-wrap
356 msgid "{sysconfdir}/sssd/sssd.conf"
357 msgstr ""
358
359 #. type: delimited block -
360 #: src/man/authselect-migration.7.adoc:169
361 #: src/man/authselect-migration.7.adoc:185
362 #, no-wrap
363 msgid ""
364 "[sssd]\n"
365 "config_file_version = 2\n"
366 "domains = default\n"
367 msgstr ""
368
369 #. type: delimited block -
370 #: src/man/authselect-migration.7.adoc:174
371 #, no-wrap
372 msgid ""
373 "[domain/default]\n"
374 "id_provider = ldap\n"
375 "ldap_uri = _srv_\n"
376 "dns_discovery_domain = myrealm\n"
377 msgstr ""
378
379 #. type: Plain text
380 #: src/man/authselect-migration.7.adoc:179
381 msgid ""
382 "And here is a configuration snippet for the same domain but now the "
383 "authentication is done over Kerberos. The KDC server is auto-discovered "
384 "through DNS lookups."
385 msgstr ""
386
387 #. type: delimited block -
388 #: src/man/authselect-migration.7.adoc:193
389 #, no-wrap
390 msgid ""
391 "[domain/default]\n"
392 "id_provider = ldap\n"
393 "auth_provider = krb5\n"
394 "ldap_uri = _srv_\n"
395 "krb5_server = _srv_\n"
396 "krb5_realm = MYREALM\n"
397 "dns_discovery_domain = myrealm\n"
398 msgstr ""
399
400 #. type: Plain text
401 #: src/man/authselect-migration.7.adoc:199
402 msgid ""
403 "If you want to configure SSSD for an IPA or Active Directory domain, use the "
404 "`realm` tool. This will perform an initial setup which involves creating a "
405 "Kerberos keytab and generating basic SSSD configuration. You can then tune "
406 "it up by modifying {sysconfdir}/sssd/sssd.conf."
407 msgstr ""
408
409 #. type: Title ~
410 #: src/man/authselect-migration.7.adoc:201
411 #, no-wrap
412 msgid "WINBIND"
413 msgstr ""
414
415 #. type: Plain text
416 #: src/man/authselect-migration.7.adoc:206
417 msgid ""
418 "If you want to configure the machine to use Winbind, use `realm`. This will "
419 "perform an initial setup which involves creating a Kerberos keytab and "
420 "running `adcli` to join the domain. It also makes changes to `smb.conf`. You "
421 "can then tune it up by modifying {sysconfdir}/samba/smb.conf."
422 msgstr ""
423
424 #. type: Plain text
425 #: src/man/authselect-migration.7.adoc:209
426 #: src/man/authselect-migration.7.adoc:262
427 #, no-wrap
428 msgid "NIS"
429 msgstr ""
430
431 #. type: Plain text
432 #: src/man/authselect-migration.7.adoc:213
433 msgid ""
434 "There are several places that needs to be configured in order to make NIS "
435 "authentication work. First, you need to set NIS domain and optionally also "
436 "NIS server in {sysconfdir}/yp.conf."
437 msgstr ""
438
439 #. type: Block title
440 #: src/man/authselect-migration.7.adoc:214
441 #, no-wrap
442 msgid "{sysconfdir}/yp.conf"
443 msgstr ""
444
445 #. type: delimited block -
446 #: src/man/authselect-migration.7.adoc:219
447 #, no-wrap
448 msgid ""
449 "domain mydomain broadcast\n"
450 "# or\n"
451 "# domain mydomain server myserver\n"
452 msgstr ""
453
454 #. type: Plain text
455 #: src/man/authselect-migration.7.adoc:222
456 msgid "NIS domain must be also set in system network configuration."
457 msgstr ""
458
459 #. type: Block title
460 #: src/man/authselect-migration.7.adoc:223
461 #, no-wrap
462 msgid "{sysconfdir}/sysconfig/network"
463 msgstr ""
464
465 #. type: delimited block -
466 #: src/man/authselect-migration.7.adoc:226
467 #, no-wrap
468 msgid "NISDOMAIN=mydomain\n"
469 msgstr ""
470
471 #. type: Plain text
472 #: src/man/authselect-migration.7.adoc:230
473 msgid ""
474 "Now, you can set the domain name with command line so there is no need to "
475 "reboot your system. Additionaly, it may be necessary to enable NIS in "
476 "selinux."
477 msgstr ""
478
479 #. type: delimited block -
480 #: src/man/authselect-migration.7.adoc:234
481 #, no-wrap
482 msgid ""
483 "$ domainname mydomain\n"
484 "$ setsebool -P allow_ypbind 1\n"
485 msgstr ""
486
487 #. type: Title ~
488 #: src/man/authselect-migration.7.adoc:238
489 #, no-wrap
490 msgid "PASSWORD QUALITY"
491 msgstr ""
492
493 #. type: Plain text
494 #: src/man/authselect-migration.7.adoc:243
495 msgid ""
496 "Authselect enables `pam_pwquality` module to enforce password quality "
497 "restrictions. This module is enabled only for local users. Remote users "
498 "should use the password policy that is enforced by the respective remote "
499 "server."
500 msgstr ""
501
502 #. type: Plain text
503 #: src/man/authselect-migration.7.adoc:247
504 msgid ""
505 "The `pam_pwquality` module can be configured in {sysconfdir}/security/"
506 "pwquality.conf. See pam_pwquality(8) to see its configuration options and "
507 "defaults."
508 msgstr ""
509
510 #. type: Title -
511 #: src/man/authselect-migration.7.adoc:249
512 #, no-wrap
513 msgid "STARTING SERVICES"
514 msgstr ""
515
516 #. type: Plain text
517 #: src/man/authselect-migration.7.adoc:252
518 msgid ""
519 "Depending on your configuration, you need to start required services "
520 "manually with systemd."
521 msgstr ""
522
523 #. type: Plain text
524 #: src/man/authselect-migration.7.adoc:256
525 #, no-wrap
526 msgid "systemctl enable sssd.service ; systemctl start sssd.service\n"
527 msgstr ""
528
529 #. type: Plain text
530 #: src/man/authselect-migration.7.adoc:258
531 msgid "Winbind"
532 msgstr ""
533
534 #. type: Plain text
535 #: src/man/authselect-migration.7.adoc:260
536 #, no-wrap
537 msgid "systemctl enable winbind.service ; systemctl start winbind.service\n"
538 msgstr ""
539
540 #. type: Plain text
541 #: src/man/authselect-migration.7.adoc:265
542 #, no-wrap
543 msgid ""
544 "systemctl enable rpcbind.service ; systemctl start rpcbind.service\n"
545 "systemctl enable ypbind.service ; systemctl start ypbind.service\n"
546 msgstr ""
547
548 #. type: Plain text
549 #: src/man/authselect-migration.7.adoc:267
550 msgid "If mkhomedir feature is enabled"
551 msgstr ""
552
553 #. type: Plain text
554 #: src/man/authselect-migration.7.adoc:269
555 #, no-wrap
556 msgid "systemctl enable oddjobd.service ; systemctl start oddjobd.service\n"
557 msgstr ""
558
559 #. type: Title -
560 #: src/man/authselect-migration.7.adoc:271
561 #, no-wrap
562 msgid "AUTHCONFIG TOOLS"
563 msgstr ""
564
565 #. type: Plain text
566 #: src/man/authselect-migration.7.adoc:275
567 msgid ""
568 "Authconfig shipped a tool called _cacertdir_rehash_. If you depend on this "
569 "tool, please switch to native _openssl_ command: *openssl rehash "
570 "<directory>* that serves the same purpose."
571 msgstr ""
572
573 #. type: Title -
574 #: src/man/authselect-migration.7.adoc:277
575 #, no-wrap
576 msgid "SEE ALSO"
577 msgstr ""
578
579 #. type: Plain text
580 #: src/man/authselect-migration.7.adoc:279
581 msgid ""
582 "authselect(8), authselect-profiles(5), realm(8), ipa-client-install(1), sssd."
583 "conf(5), smb.conf(5), ldap.conf(5), krb5.conf(5)"
584 msgstr ""